Re: [PATCH v4 01/11] ARM: OMAP2+: CM: cm_inst offset s16->u16

2013-09-30 Thread Afzal Mohammed
Hi Paul, On Monday 30 September 2013 08:53 AM, Paul Walmsley wrote: > On Thu, 26 Sep 2013, Afzal Mohammed wrote: >> Most of the AM43x CM reg address offsets are with MSB bit '1' (on >> 16-bit value) leading to arithmetic miscalculations while calculating >> CLOCK ENABLE register's address because

Re: [PATCH v4 01/11] ARM: OMAP2+: CM: cm_inst offset s16->u16

2013-09-29 Thread Paul Walmsley
Hi On Thu, 26 Sep 2013, Afzal Mohammed wrote: > Most of the AM43x CM reg address offsets are with MSB bit '1' (on > 16-bit value) leading to arithmetic miscalculations while calculating > CLOCK ENABLE register's address because cm_inst field was a type of > "const s16", so make it "const u16". >

[PATCH v4 01/11] ARM: OMAP2+: CM: cm_inst offset s16->u16

2013-09-26 Thread Afzal Mohammed
From: Ankur Kishore Most of the AM43x CM reg address offsets are with MSB bit '1' (on 16-bit value) leading to arithmetic miscalculations while calculating CLOCK ENABLE register's address because cm_inst field was a type of "const s16", so make it "const u16". Also modify relevant functions so a