From: Ilija Hadzic Date: Mon, 29 Oct 2012 17:35:00 +0000 (+0000) Subject: drm: restore open_count if drm_setup fails X-Git-Tag: v3.2.34~26 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=859f2c0d443558ff604c370cb238182ef2786410;p=pandora-kernel.git drm: restore open_count if drm_setup fails commit 0f1cb1bd94a9c967cd4ad3de51cfdabe61eb5dcc upstream. If drm_setup (called at first open) fails, the whole open call has failed, so we should not keep the open_count incremented. Signed-off-by: Ilija Hadzic Reviewed-by: Thomas Hellstrom Signed-off-by: Dave Airlie Signed-off-by: Ben Hutchings --- Reading git-diff-tree failed