commit | 0f1cb1bd94a9c967cd4ad3de51cfdabe61eb5dcc | [log] [tgz] |
---|---|---|
author | Ilija Hadzic <ilijahadzic@gmail.com> | Mon Oct 29 17:35:00 2012 +0000 |
committer | Dave Airlie <airlied@redhat.com> | Wed Nov 07 10:51:08 2012 +1000 |
tree | 563f4c28f5049c3bec4ab0c1efaa147098062e46 | |
parent | 3d70f8c617a436c7146ecb81df2265b4626dfe89 [diff] |
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 <ihadzic@research.bell-labs.com> Cc: stable@vger.kernel.org Reviewed-by: Thomas Hellstrom <thellstrom@vmware.com> Signed-off-by: Dave Airlie <airlied@redhat.com>