diff options
author | Ankur Kishore <[email protected]> | 2013-10-12 15:44:21 +0530 |
---|---|---|
committer | Paul Walmsley <[email protected]> | 2013-10-13 22:46:38 -0600 |
commit | d3f5d551df68f3b1135f212ce61eaad21fe7b42d (patch) | |
tree | 021e0f55b067e94d0f341b218af7481e9c7c0a87 /lib/string_helpers.c | |
parent | ace1e3ec4a2540c783e65884bb7be9cd45a0a295 (diff) |
ARM: OMAP2+: CM: cm_inst offset s16->u16
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 as to take care of the above.
[[email protected]: fixup and cleanup]
Signed-off-by: Ankur Kishore <[email protected]>
Signed-off-by: Afzal Mohammed <[email protected]>
Acked-by: Rajendra Nayak <[email protected]>
Acked-by: Tony Lindgren <[email protected]>
Signed-off-by: Paul Walmsley <[email protected]>
Diffstat (limited to 'lib/string_helpers.c')
0 files changed, 0 insertions, 0 deletions