Re: [PATCH v2 2/3] soc: ti: knav_dma: rename pad in struct knav_dma_desc to sw_data

From: Arnd Bergmann
Date: Fri Feb 19 2016 - 15:55:51 EST


On Friday 19 February 2016 12:58:43 Murali Karicheri wrote:
> Rename the pad to sw_data as per description of this field in the hardware
> spec(refer sprugr9 from www.ti.com). Latest version of the document is
> at http://www.ti.com/lit/ug/sprugr9h/sprugr9h.pdf and section 3.1
> Host Packet Descriptor describes this field.
>
> Define and use a constant for the size of sw_data field similar to
> other fields in the struct for desc and document the sw_data field
> in the header. As the sw_data is not touched by hw, it's type can be
> changed to u32.
>
> Rename the helpers to match with the updated dma desc field sw_data.
>
> Cc: Wingman Kwok <w-kwok2@xxxxxx>
> Cc: Mugunthan V N <mugunthanvnm@xxxxxx>
> CC: Arnd Bergmann <arnd@xxxxxxxx>
> CC: Grygorii Strashko <grygorii.strashko@xxxxxx>
> CC: David Laight <David.Laight@xxxxxxxxxx>
> Signed-off-by: Murali Karicheri <m-karicheri2@xxxxxx>
>

Acked-by: Arnd Bergmann <arnd@xxxxxxxx>