Commit a4515a3
spi: mxic: fix controller deregistration
commit adbc595 upstream.
Make sure to deregister the controller before disabling underlying
resources like clocks (via runtime pm) during driver unbind.
Fixes: b942d80 ("spi: Add MXIC controller driver")
Cc: stable@vger.kernel.org # 5.0: cc53711
Cc: stable@vger.kernel.org # 5.0
Cc: Mason Yang <masonccyang@mxic.com.tw>
Signed-off-by: Johan Hovold <johan@kernel.org>
Link: https://patch.msgid.link/20260414134319.978196-6-johan@kernel.org
Signed-off-by: Mark Brown <broonie@kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>1 parent ecd1417 commit a4515a3
1 file changed
Lines changed: 2 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
823 | 823 | | |
824 | 824 | | |
825 | 825 | | |
| 826 | + | |
| 827 | + | |
826 | 828 | | |
827 | 829 | | |
828 | | - | |
829 | 830 | | |
830 | 831 | | |
831 | 832 | | |
| |||
0 commit comments