diff options
author | Wei Yongjun <weiyongjun1@huawei.com> | 2021-04-09 08:29:54 +0000 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2021-05-22 10:40:16 +0200 |
commit | 002bb41740b4486f89d93007d94c3e622c777198 (patch) | |
tree | 9d46e1c22930ce6bfabb4aca57576d69fe619069 /drivers/gpu/ipu-v3 | |
parent | be19945962904df590e785cfb9dadcc9b4703796 (diff) | |
download | linux-rt-002bb41740b4486f89d93007d94c3e622c777198.tar.gz |
spi: omap-100k: Fix reference leak to master
[ Upstream commit a23faea76d4cf5f75decb574491e66f9ecd707e7 ]
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/20210409082954.2906933-1-weiyongjun1@huawei.com
Signed-off-by: Mark Brown <broonie@kernel.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'drivers/gpu/ipu-v3')
0 files changed, 0 insertions, 0 deletions