Details

[Home]

Issue of the Implementation # L0335

Brief

spi: stm32: Missing disable on the error path in stm32_spi_probe

Detailed Description

clk_get_rate() is below clk_prepare_enable(), so its error should lead to goto err_clk_disable, not to err_master_put.

Component

linux-kernel 4.17

Accepted

https://lkml.org/lkml/2018/3/30/524
commit

Status

Fixed in kernel v4.18-rc1

[Home]