diff options
author | Andrey Smirnov <andrew.smirnov@gmail.com> | 2019-04-03 07:01:27 +0300 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2019-04-05 06:23:07 +0300 |
commit | 249e2632dcd0509b8f8f296f5aabf4d48dfd6da8 (patch) | |
tree | e3de5e33d07ea3e9bbd7aa157fe5ffbb84cef660 /Kbuild | |
parent | d9088966c851ecbe820c053b347e8d565e4fa05c (diff) | |
download | linux-249e2632dcd0509b8f8f296f5aabf4d48dfd6da8.tar.xz |
spi: gpio: Don't request CS GPIO in DT use-case
DT use-case already relies on SPI core to control CS (requested by
of_spi_register_master() and controlled spi_set_cs()), so there's no
need to try to request those GPIO in spi-gpio code. Change the code
such that spi-gpio's CS related code is only used if device is probed
via pdata.
Signed-off-by: Andrey Smirnov <andrew.smirnov@gmail.com>
Cc: Mark Brown <broonie@kernel.org>
Cc: Chris Healy <cphealy@gmail.com>
Cc: linux-spi@vger.kernel.org
Cc: linux-kernel@vger.kernel.org
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'Kbuild')
0 files changed, 0 insertions, 0 deletions