[media] em28xx-v4l: fix device initialization in em28xx_v4l2_open() for radio and...
authorFrank Schaefer <fschaefer.oss@googlemail.com>
Sun, 12 Jan 2014 16:24:18 +0000 (13:24 -0300)
committerMauro Carvalho Chehab <m.chehab@samsung.com>
Tue, 14 Jan 2014 16:29:46 +0000 (14:29 -0200)
commit4e1702402e8a81dcd4f3bae14a88327e39fa018c
treedefe7c11a88f04d6ddc832a0cb6b3810456c6a7d
parenteab924d0e2bdfd53c902162b0b499b8464c1fb4a
[media] em28xx-v4l: fix device initialization in em28xx_v4l2_open() for radio and VBI mode

- bail out on unsupported VFL_TYPE
- em28xx_set_mode() needs to be called for VBI and radio mode, too
- em28xx_wake_i2c() needs to be called for VBI and radio mode, too
- em28xx_resolution_set() also needs to be called for VBI

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