Re: [PATCH] [media] media: mtk-mdp: fix reference count on old device tree

2019-07-12 Thread houlong wei
On Mon, 2019-07-08 at 17:06 +0800, Matthias Brugger wrote: > > On 21/06/2019 13:32, 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:

Re: [PATCH] [media] media: mtk-mdp: fix reference count on old device tree

2019-07-08 Thread Matthias Brugger
On 21/06/2019 13:32, 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:

Re: [PATCH] [media] media: mtk-mdp: fix reference count on old device tree

2019-06-21 Thread Greg KH
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") >

[PATCH] [media] media: mtk-mdp: fix reference count on old device tree

2019-06-21 Thread Matthias Brugger
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 ---