Details
[Home]
Issue of the Implementation # L0330
Brief
spi: jcore: missing disable ref_clk in remove
Detailed Description
The driver does not disable ref_clk on remove. According to the comment, the only reason to enable the clock is to get its rate. So, it should be safe to disable clk just after that. By the way, clk_prepare_enable() looks to be more appropriate than clk_enable() here.
Component
linux-kernel 4.16
Accepted
https://patchwork.kernel.org/patch/10290385/
commit
Status
Fixed in kernel v4.17-rc1
[Home]
»