Re: [PATCH] dma-mapping: fix size when of_dma_get_range() fails

2015-03-20 Thread Grant Likely
On Thu, Mar 19, 2015 at 7:25 PM, Grant Likely wrote: > On Wed, 24 Dec 2014 16:56:50 -0500 > , Murali Karicheri > wrote: >> When call to of_dma_get_range() fails, the code currently set size >> to dev->coherent_dma_mask instead of dev->coherent_dma_mask + 1. Fix this >> to make the code consisten

Re: [PATCH] dma-mapping: fix size when of_dma_get_range() fails

2015-03-20 Thread Grant Likely
On Wed, 24 Dec 2014 16:56:50 -0500 , Murali Karicheri wrote: > When call to of_dma_get_range() fails, the code currently set size > to dev->coherent_dma_mask instead of dev->coherent_dma_mask + 1. Fix this > to make the code consistent with the case when size is obtained from > dma-range property

[PATCH] dma-mapping: fix size when of_dma_get_range() fails

2014-12-24 Thread Murali Karicheri
When call to of_dma_get_range() fails, the code currently set size to dev->coherent_dma_mask instead of dev->coherent_dma_mask + 1. Fix this to make the code consistent with the case when size is obtained from dma-range property. Signed-off-by: Murali Karicheri Reviewed-by: Arnd Bergmann --- dr