summaryrefslogtreecommitdiffstats
path: root/init
diff options
context:
space:
mode:
authorPhilippe Schenker <philippe.schenker@toradex.com>2019-12-04 15:13:33 +0100
committerMark Brown <broonie@kernel.org>2020-01-14 17:03:29 +0100
commitbc3a8b295e5bca9d1ec2622a6ba38289f9fd3d8a (patch)
tree03943fcc82007134fbd5b34fa722d1c1ea286de4 /init
parentspi: spi-ti-qspi: optimize byte-transfers (diff)
downloadlinux-bc3a8b295e5bca9d1ec2622a6ba38289f9fd3d8a.tar.xz
linux-bc3a8b295e5bca9d1ec2622a6ba38289f9fd3d8a.zip
spi: fsl-lpspi: fix only one cs-gpio working
Why it does not work at the moment: - num_chipselect sets the number of cs-gpios that are in the DT. This comes from drivers/spi/spi.c - num_chipselect gets set with devm_spi_register_controller, that is called in drivers/spi/spi.c - devm_spi_register_controller got called after num_chipselect has been used. How this commit fixes the issue: - devm_spi_register_controller gets called before num_chipselect is being used. Fixes: c7a402599504 ("spi: lpspi: use the core way to implement cs-gpio function") Signed-off-by: Philippe Schenker <philippe.schenker@toradex.com> Link: https://lore.kernel.org/r/20191204141312.1411251-1-philippe.schenker@toradex.com Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'init')
0 files changed, 0 insertions, 0 deletions