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

Grant Likely grant.likely at linaro.org
Fri Mar 20 04:54:08 PDT 2015


On Thu, Mar 19, 2015 at 7:25 PM, Grant Likely <grant.likely at linaro.org> wrote:
> On Wed, 24 Dec 2014 16:56:50 -0500
> , Murali Karicheri <m-karicheri2 at ti.com>
>  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.
>>
>> Signed-off-by: Murali Karicheri <m-karicheri2 at ti.com>
>> Reviewed-by: Arnd Bergmann <arnd at arndb.de>
>
> Looks okay to me. I've merged it into my tree.

Oops, never mind. I see that it's been rolled into the series going
through Bjorn's tree. Sorry for the noise.

g.



More information about the linux-arm-kernel mailing list