Skip to content

Commit 3ee20ab

Browse files
committed
Merge remote-tracking branch 'spi/fix/rockchip' into spi-linus
2 parents c23663a + 844c9f4 commit 3ee20ab

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

drivers/spi/spi-rockchip.c

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -749,6 +749,7 @@ static int rockchip_spi_probe(struct platform_device *pdev)
749749
return 0;
750750

751751
err_register_master:
752+
pm_runtime_disable(&pdev->dev);
752753
if (rs->dma_tx.ch)
753754
dma_release_channel(rs->dma_tx.ch);
754755
if (rs->dma_rx.ch)
@@ -778,6 +779,8 @@ static int rockchip_spi_remove(struct platform_device *pdev)
778779
if (rs->dma_rx.ch)
779780
dma_release_channel(rs->dma_rx.ch);
780781

782+
spi_master_put(master);
783+
781784
return 0;
782785
}
783786

0 commit comments

Comments
 (0)