]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
spi: stm32-qspi: add spi_master_put in release function
authorLudovic Barre <ludovic.barre@st.com>
Mon, 25 Mar 2019 17:01:39 +0000 (18:01 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 31 May 2019 13:43:48 +0000 (06:43 -0700)
commit30a120c163d856e65a39a0f56f623cee6470ec39
treea7d61bd4c99528b39ac5b40a7b8d84d16ebb2c24
parent8063559dfb6df74063a3d55d68b38b1a08196005
spi: stm32-qspi: add spi_master_put in release function

[ Upstream commit a88eceb17ac7e8dc4ad9995681af61c8371668f4 ]

This patch adds spi_master_put in release function
to drop the controller's refcount.

Signed-off-by: Ludovic Barre <ludovic.barre@st.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
drivers/spi/spi-stm32-qspi.c