]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
spi: sh-hspi: fix controller deregistration
authorJohan Hovold <johan@kernel.org>
Fri, 10 Apr 2026 08:17:42 +0000 (10:17 +0200)
committerMark Brown <broonie@kernel.org>
Fri, 10 Apr 2026 12:22:33 +0000 (13:22 +0100)
commite63982e6392e45a6ecd68d6c317a081cc8e70143
treedb3bb237140890585abf2b2f8d1bcf1fa2768f54
parentc1446b61e472da24d1547525193467b4bea4a7cb
spi: sh-hspi: fix controller deregistration

Make sure to deregister the controller before releasing underlying
resources like clocks during driver unbind.

Fixes: 49e599b8595f ("spi: sh-hspi: control spi clock more correctly")
Cc: stable@vger.kernel.org # 3.4
Signed-off-by: Johan Hovold <johan@kernel.org>
Link: https://patch.msgid.link/20260410081757.503099-13-johan@kernel.org
Signed-off-by: Mark Brown <broonie@kernel.org>
drivers/spi/spi-sh-hspi.c