[PATCH 3/4] mtd: st_spi_fsm: Disable clock only after device was unregistered
Miquel Raynal
miquel.raynal at bootlin.com
Thu Jun 9 06:08:54 PDT 2022
On Tue, 2022-06-07 at 15:24:57 UTC, =?utf-8?q?Uwe_Kleine-K=C3=B6nig?= wrote:
> Until mtd_device_unregister() returns the device is expected to be
> operational. So only disable the clock after the mtd is unregistered.
>
> Fixes: 1fefc8ecb834 ("mtd: st_spi_fsm: add missing clk_disable_unprepare() in stfsm_remove()")
> Signed-off-by: Uwe Kleine-König <u.kleine-koenig at pengutronix.de>
Applied to https://git.kernel.org/pub/scm/linux/kernel/git/mtd/linux.git mtd/next, thanks.
Miquel
More information about the linux-mtd
mailing list