summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorVinit Shenoy <vinit.shenoy@st.com>2012-04-17 09:10:13 +0200
committerGrant Likely <grant.likely@secretlab.ca>2012-04-18 01:54:05 +0200
commiteb798c641a34ae9cee9fcacfbe5dd40bd7777607 (patch)
tree3cbd69ef2fc8ffae67160b9919548aa38c0af916 /include
parentLinux 3.4-rc3 (diff)
downloadlinux-eb798c641a34ae9cee9fcacfbe5dd40bd7777607.tar.xz
linux-eb798c641a34ae9cee9fcacfbe5dd40bd7777607.zip
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 <vinit.shenoy@st.com> Acked-by: Linus Walleij <linus.walleij@linaro.org> Signed-off-by: Grant Likely <grant.likely@secretlab.ca>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions