Commit 8856eaf
spi: atmel-quadspi: Fix unbalanced pm_runtime by using devm_ API
Fix unbalanced PM in error path of `atmel_qspi_probe()`
by using `devm_pm_runtime_*()` functions.
Reported-by: Alexander Dahl <[email protected]>
Closes: https://lore.kernel.org/linux-spi/[email protected]/
Fixes: 5af4220 ("spi: atmel-quadspi: Add support for sama7g5 QSPI")
Signed-off-by: Bence Csókás <[email protected]>
Link: https://patch.msgid.link/[email protected]
Signed-off-by: Mark Brown <[email protected]>1 parent 73db799 commit 8856eaf
1 file changed
+4
-13
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1436 | 1436 | | |
1437 | 1437 | | |
1438 | 1438 | | |
1439 | | - | |
1440 | | - | |
1441 | | - | |
| 1439 | + | |
| 1440 | + | |
1442 | 1441 | | |
1443 | 1442 | | |
1444 | 1443 | | |
1445 | 1444 | | |
1446 | 1445 | | |
1447 | 1446 | | |
1448 | | - | |
1449 | | - | |
1450 | | - | |
1451 | | - | |
1452 | | - | |
| 1447 | + | |
1453 | 1448 | | |
1454 | | - | |
| 1449 | + | |
1455 | 1450 | | |
1456 | 1451 | | |
1457 | 1452 | | |
| |||
1530 | 1525 | | |
1531 | 1526 | | |
1532 | 1527 | | |
1533 | | - | |
1534 | | - | |
1535 | | - | |
1536 | | - | |
1537 | 1528 | | |
1538 | 1529 | | |
1539 | 1530 | | |
| |||
0 commit comments