Commit e51a349
mmc: atmel-mci: Add missing clk_disable_unprepare()
The error path when atmci_configure_dma() set dma fails in atmci driver
does not correctly disable the clock.
Add the missing clk_disable_unprepare() to the error path for pair with
clk_prepare_enable().
Fixes: 467e081 ("mmc: atmel-mci: use probe deferring if dma controller is not ready yet")
Signed-off-by: Gu Bowen <[email protected]>
Acked-by: Aubin Constans <[email protected]>
Cc: [email protected]
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Ulf Hansson <[email protected]>1 parent 80e54e8 commit e51a349
1 file changed
+3
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2499 | 2499 | | |
2500 | 2500 | | |
2501 | 2501 | | |
2502 | | - | |
| 2502 | + | |
| 2503 | + | |
2503 | 2504 | | |
| 2505 | + | |
2504 | 2506 | | |
2505 | 2507 | | |
2506 | 2508 | | |
| |||
0 commit comments