spi: sun6i: Fix define for SUN6I_TFR_CTL_CS_MASK
authorAxel Lin <axel.lin@ingics.com>
Thu, 13 Feb 2014 02:18:15 +0000 (10:18 +0800)
committerMark Brown <broonie@linaro.org>
Sun, 16 Feb 2014 01:11:05 +0000 (09:11 +0800)
commitd31ad46f58e89fdb9f5b902aa7cc29689e123dde
treeddf0bd5c0064734181b14cce51a5affa2d555b6d
parent7961656a6f11b69966500d7bd25273203fd930da
spi: sun6i: Fix define for SUN6I_TFR_CTL_CS_MASK

Current code in sun6i_spi_set_cs() actually clears CPHA and CPOL bits which is
obvious wrong. The define for SUN6I_TFR_CTL_CS_MASK is wrong. Fix it.

Signed-off-by: Axel Lin <axel.lin@ingics.com>
Acked-by: Maxime Ripard <maxime.ripard@free-electrons.com>
Signed-off-by: Mark Brown <broonie@linaro.org>
drivers/spi/spi-sun6i.c