diff options
author | Nicolas Kaiser <nikai@nikai.net> | 2010-11-15 19:40:28 +0100 |
---|---|---|
committer | Kevin Hilman <khilman@deeprootsystems.com> | 2010-12-10 07:33:51 -0800 |
commit | 12cdd3d71954c2cd6dd556eec25dd7d346735831 (patch) | |
tree | 2201eb4a1fea43603ef527321a8a7a83c46d7c67 /lib | |
parent | 1a07bfb5215e11227403f121097ed72187dc3241 (diff) | |
download | linux-12cdd3d71954c2cd6dd556eec25dd7d346735831.tar.bz2 |
davinci: aemif: signedness bug in davinci_aemif_setup_timing()
aemif_calc_rate() can return a negative error value, so all the
variables that get tested for this value need to be signed.
The maximum bit width of WSETUP(WSETUP_MAX) appears to be 30 bits
(0xf << 26). Using a signed instead of an unsigned integer
shouldn't make a difference here.
Signed-off-by: Nicolas Kaiser <nikai@nikai.net>
Acked-by: Sekhar Nori <nsekhar@ti.com>
Signed-off-by: Kevin Hilman <khilman@deeprootsystems.com>
Diffstat (limited to 'lib')
0 files changed, 0 insertions, 0 deletions