diff options
author | Saravana Kannan <[email protected]> | 2021-05-05 09:47:34 -0700 |
---|---|---|
committer | Mark Brown <[email protected]> | 2021-05-14 13:24:56 +0100 |
commit | 27e7db56cf3dffd302bd7ddfacb1d405cf671a2a (patch) | |
tree | 78860614e503f9a9621589d47c5f0a89c398008e /drivers/usb/cdns3/cdns3-imx.c | |
parent | 6b69546912a57ff8c31061f98e56383cc0beffd3 (diff) |
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 <[email protected]>
Signed-off-by: Saravana Kannan <[email protected]>
Tested-by: Andy Shevchenko <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Mark Brown <[email protected]>
Diffstat (limited to 'drivers/usb/cdns3/cdns3-imx.c')
0 files changed, 0 insertions, 0 deletions