[PATCH] [media] media: mtk-mdp: fix reference count on old device tree
gregkh at linuxfoundation.org
Fri Jun 21 06:22:41 PDT 2019
On Fri, Jun 21, 2019 at 01:32:50PM +0200, Matthias Brugger wrote:
> 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 at gmail.com>
> drivers/media/platform/mtk-mdp/mtk_mdp_core.c | 4 +++-
> 1 file changed, 3 insertions(+), 1 deletion(-)
This is not the correct way to submit patches for inclusion in the
stable kernel tree. Please read:
for how to do this properly.
More information about the Linux-mediatek