Commit 28607b4
mtd: st_spi_fsm: Add a clk_disable_unprepare() in .probe()'s error path
For all but one error path clk_disable_unprepare() is already there. Add
it to the one location where it's missing.
Fixes: 481815a ("mtd: st_spi_fsm: Handle clk_prepare_enable/clk_disable_unprepare.")
Fixes: 69d5af8 ("mtd: st_spi_fsm: Obtain and use EMI clock")
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]1 parent 1cc82e0 commit 28607b4
1 file changed
+5
-3
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2115 | 2115 | | |
2116 | 2116 | | |
2117 | 2117 | | |
2118 | | - | |
2119 | | - | |
| 2118 | + | |
| 2119 | + | |
2120 | 2120 | | |
2121 | | - | |
| 2121 | + | |
| 2122 | + | |
| 2123 | + | |
2122 | 2124 | | |
2123 | 2125 | | |
2124 | 2126 | | |
| |||
0 commit comments