commit | c5c67e31bc1b96658169b5b553b9be42e2ca6368 | [log] [tgz] |
---|---|---|
author | Axel Lin <axel.lin@ingics.com> | Tue Feb 11 20:54:17 2014 +0800 |
committer | Mark Brown <broonie@linaro.org> | Tue Feb 11 17:02:31 2014 +0000 |
tree | 1f9fc1dc6bee8ffa964ee1729008db7df775674e | |
parent | 589f6a90e6c5cda51ecb89799c5bff4074e9ef77 [diff] |
spi: sc18is602: Move checking chip_select for SC18IS602 to sc18is602_setup So it will be checked when spi device is added onto the spi bus. spi_add_device() calls spi_setup() which then calls spi->master->setup(). No need to check it every time sc18is602_transfer_one() is called. Signed-off-by: Axel Lin <axel.lin@ingics.com> Acked-by: Guenter Roeck <linux@roeck-us.net> Signed-off-by: Mark Brown <broonie@linaro.org>