aboutsummaryrefslogtreecommitdiff
path: root/lib/memory-notifier-error-inject.c
diff options
context:
space:
mode:
authorUwe Kleine-König <[email protected]>2022-06-07 17:24:57 +0200
committerMiquel Raynal <[email protected]>2022-06-09 15:06:36 +0200
commitcd043c613e21bb6f039057043da759471706adf5 (patch)
tree04711fe488f908e44fd858e751a0e62ac2103eb4 /lib/memory-notifier-error-inject.c
parentcfa7847f150c4343903d8ff2cd219418c1768205 (diff)
mtd: st_spi_fsm: Disable clock only after device was unregistered
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 <[email protected]> Signed-off-by: Miquel Raynal <[email protected]> Link: https://lore.kernel.org/linux-mtd/[email protected]
Diffstat (limited to 'lib/memory-notifier-error-inject.c')
0 files changed, 0 insertions, 0 deletions