summaryrefslogtreecommitdiff
path: root/Kconfig
diff options
context:
space:
mode:
authorWei Yongjun <weiyongjun1@huawei.com>2021-04-09 08:29:55 +0000
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2021-05-22 10:40:16 +0200
commitbe19945962904df590e785cfb9dadcc9b4703796 (patch)
tree271859e35623e55eb2babc6ec16a4b27b8b7f709 /Kconfig
parent9b95c63cea5c09d6725f6f96d1a4fe5d641bf51d (diff)
downloadlinux-rt-be19945962904df590e785cfb9dadcc9b4703796.tar.gz
spi: dln2: Fix reference leak to master
[ Upstream commit 9b844b087124c1538d05f40fda8a4fec75af55be ] Call spi_master_get() holds the reference count to master device, thus we need an additional spi_master_put() call to reduce the reference count, otherwise we will leak a reference to master. This commit fix it by removing the unnecessary spi_master_get(). Reported-by: Hulk Robot <hulkci@huawei.com> Signed-off-by: Wei Yongjun <weiyongjun1@huawei.com> Link: https://lore.kernel.org/r/20210409082955.2907950-1-weiyongjun1@huawei.com Signed-off-by: Mark Brown <broonie@kernel.org> Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'Kconfig')
0 files changed, 0 insertions, 0 deletions