[PATCH 0/4] mtd: st_spi_fsm: Some fixes and improvements

Uwe Kleine-König u.kleine-koenig at pengutronix.de
Tue Jun 7 08:24:54 PDT 2022


Hello,

my intention was to just resend
https://lore.kernel.org/linux-mtd/20220603210758.148493-5-u.kleine-koenig@pengutronix.de
because after a change that was merged for 5.19-rc1 this patch didn't
apply any more. While preparing this update, I looked a bit too deep
into the driver and identified a few more patch opportunities.

I considered swapping the order of patches #2 and #3 because #3 is a fix
which #2 isn't. But doing would require a helper variable added to
.remove() in #2 that then is removed again in #3. If you feel strong
here (e.g. because you think #3 should be backported to stable but #2
shouldn't), I can rework accordingly.

Best regards
Uwe

Uwe Kleine-König (4):
  mtd: st_spi_fsm: Add a clk_disable_unprepare() in .probe()'s error path
  mtd: st_spi_fsm: Warn about failure to unregister mtd device
  mtd: st_spi_fsm: Disable clock only after device was unregistered
  mtd: st_spi_fsm: Simplify error checking in .probe() a bit

 drivers/mtd/devices/st_spi_fsm.c | 23 ++++++++++++-----------
 1 file changed, 12 insertions(+), 11 deletions(-)

base-commit: f2906aa863381afb0015a9eb7fefad885d4e5a56
-- 
2.36.1




More information about the linux-mtd mailing list