summaryrefslogtreecommitdiff
path: root/sound/pci/ad1889.h
diff options
context:
space:
mode:
authorIlija Hadzic <ilijahadzic@gmail.com>2012-10-29 17:35:00 +0000
committerBen Hutchings <ben@decadent.org.uk>2012-11-16 16:47:10 +0000
commit859f2c0d443558ff604c370cb238182ef2786410 (patch)
tree27718093a9619b9ad43ed1298ef27ef7f3ee7b86 /sound/pci/ad1889.h
parente636bd393f3e2aad218933fb879caacb2d112738 (diff)
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 <ihadzic@research.bell-labs.com> Reviewed-by: Thomas Hellstrom <thellstrom@vmware.com> Signed-off-by: Dave Airlie <airlied@redhat.com> Signed-off-by: Ben Hutchings <ben@decadent.org.uk>
Diffstat (limited to 'sound/pci/ad1889.h')
0 files changed, 0 insertions, 0 deletions