spi/pl022: strengthen FIFO watermark level checks
authorLinus Walleij <linus.walleij@linaro.org>
Thu, 16 Jun 2011 08:14:46 +0000 (10:14 +0200)
committerGrant Likely <grant.likely@secretlab.ca>
Thu, 16 Jun 2011 14:27:05 +0000 (08:27 -0600)
The platform configuration can select custom FIFO watermarks, but
these may conflict the actual FIFO size of the PL022 variant if
set too high. So strengthen the sanity checks to deny any
conflicting settings.

Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Signed-off-by: Grant Likely <grant.likely@secretlab.ca>

No differences found