summaryrefslogtreecommitdiffstats
path: root/drivers/spi/spi-sh-msiof.c
diff options
context:
space:
mode:
authorAlexey Khoroshilov2018-03-30 21:54:44 +0200
committerMark Brown2018-04-17 12:46:23 +0200
commit3dbb3eef91fdb246c7d366b960fe37b66af8ffa9 (patch)
treefe8c9c746fa91adbe47fca0d6d9b9d26af6c07bc /drivers/spi/spi-sh-msiof.c
parentspi: sh-msiof: Fix bit field overflow writes to TSCR/RSCR (diff)
downloadkernel-qcow2-linux-3dbb3eef91fdb246c7d366b960fe37b66af8ffa9.tar.gz
kernel-qcow2-linux-3dbb3eef91fdb246c7d366b960fe37b66af8ffa9.tar.xz
kernel-qcow2-linux-3dbb3eef91fdb246c7d366b960fe37b66af8ffa9.zip
spi: stm32: Fix error handling in stm32_spi_probe()
clk_get_rate() is below clk_prepare_enable(), so its error should lead to goto err_clk_disable, not to err_master_put. Found by Linux Driver Verification project (linuxtesting.org). Signed-off-by: Alexey Khoroshilov <khoroshilov@ispras.ru> Reviewed-by: Amelie Delaunay <amelie.delaunay@st.com> Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'drivers/spi/spi-sh-msiof.c')
0 files changed, 0 insertions, 0 deletions