]> git.karo-electronics.de Git - linux-beck.git/commit
[media] em28xx-audio: fix user counting in snd_em28xx_capture_open()
authorFrank Schaefer <fschaefer.oss@googlemail.com>
Fri, 17 Jan 2014 17:18:42 +0000 (14:18 -0300)
committerMauro Carvalho Chehab <m.chehab@samsung.com>
Tue, 4 Feb 2014 18:39:55 +0000 (16:39 -0200)
commit01ae3b51af7144ea29eb28ba718b65ad59ab9493
tree8c815cb024e2905af7caca305b1665d1081a89e9
parent1d184b0bc13d49108e571033fc00f3b5f32670e1
[media] em28xx-audio: fix user counting in snd_em28xx_capture_open()

dev->adev.users always needs to be increased when snd_em28xx_capture_open() is
called and succeeds.

Signed-off-by: Frank Schäfer <fschaefer.oss@googlemail.com>
Cc: stable@vger.kernel.org
Signed-off-by: Mauro Carvalho Chehab <m.chehab@samsung.com>
drivers/media/usb/em28xx/em28xx-audio.c