diff options
author | Vinit Shenoy <[email protected]> | 2012-04-17 12:40:13 +0530 |
---|---|---|
committer | Grant Likely <[email protected]> | 2012-04-17 17:54:05 -0600 |
commit | eb798c641a34ae9cee9fcacfbe5dd40bd7777607 (patch) | |
tree | 3cbd69ef2fc8ffae67160b9919548aa38c0af916 /tools/perf | |
parent | e816b57a337ea3b755de72bec38c10c864f23015 (diff) |
spi/pl022: Fix range checking for bits per word
pl022 ssp controller supports word lengths from 4 to 16 (or 32) bits.
Currently implemented checks were incorrect. It has following check
if (pl022->vendor->max_bpw >= 32)
which must be checking for <=.
Also error print message is incorrect, that prints "range is from 1 to
16".
Fix both these issues.
Signed-off-by: Vinit Shenoy <[email protected]>
Acked-by: Linus Walleij <[email protected]>
Signed-off-by: Grant Likely <[email protected]>
Diffstat (limited to 'tools/perf')
0 files changed, 0 insertions, 0 deletions