diff options
author | Saravana Kannan <saravanak@google.com> | 2021-05-05 18:47:34 +0200 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2021-05-14 14:24:56 +0200 |
commit | 27e7db56cf3dffd302bd7ddfacb1d405cf671a2a (patch) | |
tree | 78860614e503f9a9621589d47c5f0a89c398008e /Documentation/devicetree/bindings | |
parent | spi: Assume GPIO CS active high in ACPI case (diff) | |
download | linux-27e7db56cf3dffd302bd7ddfacb1d405cf671a2a.tar.xz linux-27e7db56cf3dffd302bd7ddfacb1d405cf671a2a.zip |
spi: Don't have controller clean up spi device before driver unbind
When a spi device is unregistered and triggers a driver unbind, the
driver might need to access the spi device. So, don't have the
controller clean up the spi device before the driver is unbound. Clean
up the spi device after the driver is unbound.
Fixes: c7299fea6769 ("spi: Fix spi device unregister flow")
Reported-by: Lukas Wunner <lukas@wunner.de>
Signed-off-by: Saravana Kannan <saravanak@google.com>
Tested-by: Andy Shevchenko <andy.shevchenko@gmail.com>
Link: https://lore.kernel.org/r/20210505164734.175546-1-saravanak@google.com
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'Documentation/devicetree/bindings')
0 files changed, 0 insertions, 0 deletions