rockchip: spi: Correct the bus init code
authorSimon Glass <sjg@chromium.org>
Fri, 22 Jan 2016 02:44:04 +0000 (19:44 -0700)
committerSimon Glass <sjg@chromium.org>
Fri, 22 Jan 2016 03:42:35 +0000 (20:42 -0700)
commit2b9fe111ec47750d9d7912246d983a7f9e096df6
treebaae00f09b93e4f948904c9f2c6b9106da38b052
parent28a943c11018f7e2946f3a529de87102f268cedb
rockchip: spi: Correct the bus init code

Two of the init values are created locally so cannot be out of range.
The masking is unnecessary and in one case is incorrect. Fix it.

Signed-off-by: Simon Glass <sjg@chromium.org>
drivers/spi/rk_spi.c