summaryrefslogtreecommitdiff
path: root/drivers/media/dvb-frontends/cxd2820r_core.c
diff options
context:
space:
mode:
authorMatthias Brugger <matthias.bgg@gmail.com>2019-06-21 14:32:50 +0300
committerMauro Carvalho Chehab <mchehab+samsung@kernel.org>2019-08-13 17:42:45 +0300
commit864919ea0380e62adb2503b89825fe358acb8216 (patch)
tree1431a469e725ee26ba92c5c962da240590b52bb0 /drivers/media/dvb-frontends/cxd2820r_core.c
parentb557b5073194d63bcd2850c009f9326250b4bd97 (diff)
downloadlinux-864919ea0380e62adb2503b89825fe358acb8216.tar.xz
media: mtk-mdp: fix reference count on old device tree
of_get_next_child() increments the reference count of the returning device_node. Decrement it in the check if we are using the old or the new DTB. Fixes: ba1f1f70c2c0 ("[media] media: mtk-mdp: Fix mdp device tree") Signed-off-by: Matthias Brugger <matthias.bgg@gmail.com> Acked-by: Houlong Wei <houlong.wei@mediatek.com> [hverkuil-cisco@xs4all.nl: use node instead of parent as temp variable] Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl> Signed-off-by: Mauro Carvalho Chehab <mchehab+samsung@kernel.org>
Diffstat (limited to 'drivers/media/dvb-frontends/cxd2820r_core.c')
0 files changed, 0 insertions, 0 deletions