Skip to content

Commit 1116f5e

Browse files
committed
spi: atmel-quadspi: remove enabling the qspick twice
While porting at91/spi branch during kernel v6.6.9 migration, enabled the qspick twice in the function atmel_qspi_runtime_resume. Fixes: 5ff0e74 ("spi: atmel-quadspi: fix runtime PM") Signed-off-by: Durai Manickam KR <durai.manickamkr@microchip.com>
1 parent 84adb64 commit 1116f5e

1 file changed

Lines changed: 0 additions & 1 deletion

File tree

drivers/spi/atmel-quadspi.c

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1614,7 +1614,6 @@ static int __maybe_unused atmel_qspi_runtime_resume(struct device *dev)
16141614
if (aq->caps->has_qspick)
16151615
ret = clk_enable(aq->qspick);
16161616

1617-
ret = clk_enable(aq->qspick);
16181617
if (ret)
16191618
clk_disable(aq->pclk);
16201619

0 commit comments

Comments
 (0)