Re: [PATCH 04/15] ASoC: samsung-idma: avoid 64-bit division

2014-04-30 Thread Mark Brown
On Tue, Apr 29, 2014 at 07:18:25PM +0800, Xia Kaixu wrote: > From: Arnd Bergmann > > dma_addr_t may be 64 bit wide, which causes a build failure > when doing a division on it. Here it is safe to cast to an > u32 type, which avoids the problem. Applied, thanks. signature.asc Description:

Re: [PATCH 04/15] ASoC: samsung-idma: avoid 64-bit division

2014-04-30 Thread Mark Brown
On Tue, Apr 29, 2014 at 07:18:25PM +0800, Xia Kaixu wrote: From: Arnd Bergmann a...@arndb.de dma_addr_t may be 64 bit wide, which causes a build failure when doing a division on it. Here it is safe to cast to an u32 type, which avoids the problem. Applied, thanks. signature.asc

Re: [PATCH 04/15] ASoC: samsung-idma: avoid 64-bit division

2014-04-29 Thread Tushar Behera
On 04/29/2014 04:48 PM, Xia Kaixu wrote: > From: Arnd Bergmann > > dma_addr_t may be 64 bit wide, which causes a build failure > when doing a division on it. Here it is safe to cast to an > u32 type, which avoids the problem. > > Signed-off-by: Arnd Bergmann > Signed-off-by: Xia Kaixu > Cc:

[PATCH 04/15] ASoC: samsung-idma: avoid 64-bit division

2014-04-29 Thread Xia Kaixu
From: Arnd Bergmann dma_addr_t may be 64 bit wide, which causes a build failure when doing a division on it. Here it is safe to cast to an u32 type, which avoids the problem. Signed-off-by: Arnd Bergmann Signed-off-by: Xia Kaixu Cc: Mark Brown Cc: Liam Girdwood Cc: Ben Dooks Cc: Kukjin Kim

[PATCH 04/15] ASoC: samsung-idma: avoid 64-bit division

2014-04-29 Thread Xia Kaixu
From: Arnd Bergmann a...@arndb.de dma_addr_t may be 64 bit wide, which causes a build failure when doing a division on it. Here it is safe to cast to an u32 type, which avoids the problem. Signed-off-by: Arnd Bergmann a...@arndb.de Signed-off-by: Xia Kaixu kaixu@linaro.org Cc: Mark Brown

Re: [PATCH 04/15] ASoC: samsung-idma: avoid 64-bit division

2014-04-29 Thread Tushar Behera
On 04/29/2014 04:48 PM, Xia Kaixu wrote: From: Arnd Bergmann a...@arndb.de dma_addr_t may be 64 bit wide, which causes a build failure when doing a division on it. Here it is safe to cast to an u32 type, which avoids the problem. Signed-off-by: Arnd Bergmann a...@arndb.de Signed-off-by: