From: Laurent Pinchart Date: Mon, 23 Feb 2015 14:49:21 +0000 (-0300) Subject: [media] media: am437x: Don't release OF node reference twice X-Git-Tag: omap-for-v4.2/o2_dc~62^2~1^2~242 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ee662d44a23df45e2b3ff8b122e165b57672b656;p=pandora-kernel.git [media] media: am437x: Don't release OF node reference twice The remote port reference is released both at the end of the OF graph parsing loop, and in the error code path at the end of the function. Those two calls will release the same reference, causing the reference count to go negative. Fix the problem by removing the second call. Signed-off-by: Laurent Pinchart Acked-by: Lad, Prabhakar Acked-by: Benoit Parrot Signed-off-by: Hans Verkuil Signed-off-by: Mauro Carvalho Chehab --- Reading git-diff-tree failed