summaryrefslogtreecommitdiff
path: root/include/linux/timerqueue.h
diff options
context:
space:
mode:
authorChristophe JAILLET <christophe.jaillet@wanadoo.fr>2021-01-28 23:22:34 +0300
committerMauro Carvalho Chehab <mchehab+huawei@kernel.org>2021-03-22 11:26:34 +0300
commit5a465c5391a856a0c1e9554964d660676c35d1b2 (patch)
tree3dede2d646778aa5be21c410b7c378cf68319cfb /include/linux/timerqueue.h
parent08c06797627935d48621359eb95ab8a69d70d5c5 (diff)
downloadlinux-5a465c5391a856a0c1e9554964d660676c35d1b2.tar.xz
media: venus: core: Fix some resource leaks in the error path of 'venus_probe()'
If an error occurs after a successful 'of_icc_get()' call, it must be undone. Use 'devm_of_icc_get()' instead of 'of_icc_get()' to avoid the leak. Update the remove function accordingly and axe the now unneeded 'icc_put()' calls. Fixes: 32f0a6ddc8c9 ("media: venus: Use on-chip interconnect API") Signed-off-by: Christophe JAILLET <christophe.jaillet@wanadoo.fr> Signed-off-by: Stanimir Varbanov <stanimir.varbanov@linaro.org> Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
Diffstat (limited to 'include/linux/timerqueue.h')
0 files changed, 0 insertions, 0 deletions