summaryrefslogtreecommitdiff
path: root/drivers/gpu/ipu-v3
diff options
context:
space:
mode:
authorWei Yongjun <weiyongjun1@huawei.com>2021-04-09 08:29:54 +0000
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2021-05-22 10:40:16 +0200
commit002bb41740b4486f89d93007d94c3e622c777198 (patch)
tree9d46e1c22930ce6bfabb4aca57576d69fe619069 /drivers/gpu/ipu-v3
parentbe19945962904df590e785cfb9dadcc9b4703796 (diff)
downloadlinux-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