aboutsummaryrefslogtreecommitdiff
path: root/mm/page_counter.c
diff options
context:
space:
mode:
authorMiaoqian Lin2022-01-12 12:05:54 +0100
committerMauro Carvalho Chehab2022-01-28 13:16:21 +0100
commitca85d271531a1e1c86f24b892f57b7d0a3ddb5a6 (patch)
treefb5f2c0c0105e66298413f7d4401e7249def5572 /mm/page_counter.c
parentf9e795eaa6deafd2bb2aebcaf7835aad22aa10dc (diff)
media: coda: Fix missing put_device() call in coda_get_vdoa_data
The reference taken by 'of_find_device_by_node()' must be released when not needed anymore. Add the corresponding 'put_device()' in the error handling path. Fixes: e7f3c5481035 ("[media] coda: use VDOA for un-tiling custom macroblock format") Signed-off-by: Miaoqian Lin <linmq006@gmail.com> Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl> Signed-off-by: Mauro Carvalho Chehab <mchehab@kernel.org>
Diffstat (limited to 'mm/page_counter.c')
0 files changed, 0 insertions, 0 deletions