From: Timur Tabi <hidden> Date: 2011-08-22 14:22:49
of_parse_phandle increments the reference count of np, so this should be
decremented before trying the next possibility.
Since we don't actually use np, we can decrement the reference count
immediately.
Reported-by: Julia Lawall <redacted>
Signed-off-by: Timur Tabi <redacted>
---
sound/soc/fsl/fsl_dma.c | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
of_parse_phandle increments the reference count of np, so this should be
decremented before trying the next possibility.
Since we don't actually use np, we can decrement the reference count
immediately.
Reported-by: Julia Lawall <redacted>
Signed-off-by: Timur Tabi <redacted>
From: Mark Brown <hidden> Date: 2011-08-22 22:27:26
On Mon, Aug 22, 2011 at 09:22:41AM -0500, Timur Tabi wrote:
of_parse_phandle increments the reference count of np, so this should be
decremented before trying the next possibility.
Since we don't actually use np, we can decrement the reference count
immediately.
From: Mark Brown <hidden> Date: 2011-08-22 22:30:37
On Mon, Aug 22, 2011 at 09:22:41AM -0500, Timur Tabi wrote:
of_parse_phandle increments the reference count of np, so this should be
decremented before trying the next possibility.
Since we don't actually use np, we can decrement the reference count
immediately.