[media] au0828: don't change global state information on open()
authorHans Verkuil <hans.verkuil@cisco.com>
Mon, 11 Mar 2013 19:12:17 +0000 (16:12 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Mon, 25 Mar 2013 18:10:33 +0000 (15:10 -0300)
commitde8d2bbf0a6bebce51a2ab08adbb0dd897825777
tree917a246f9fba0915b8b6d2ad5859575614c1b2f3
parentfa09cb9a992be135fa6f3ac8a0841c478f29d844
[media] au0828: don't change global state information on open()

Just opening a device shouldn't have any side-effects.

Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
Reviewed-by: Devin Heitmueller <dheitmueller@kernellabs.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
drivers/media/usb/au0828/au0828-video.c