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.7-rc5~20^2~2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=0f1cb1bd94a9c967cd4ad3de51cfdabe61eb5dcc;p=pandora-kernel.git drm: restore open_count if drm_setup fails 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 Cc: stable@vger.kernel.org Reviewed-by: Thomas Hellstrom Signed-off-by: Dave Airlie --- Reading git-diff-tree failed