Details

[Home]

Issue of the Implementation # L0314

Brief

spi: sun6i: missing disable/unprepare clocks on remove

Detailed Description

sun6i_spi_probe() uses sun6i_spi_runtime_resume() to prepare/enable clocks, so sun6i_spi_remove() should use sun6i_spi_runtime_suspend() to disable/unprepare them if we're not suspended.

Component

linux-kernel 4.14

Accepted

https://lkml.org/lkml/2017/12/7/697
commit

Status

Fixed in kernel v4.16-rc1

[Home]