]> git.karo-electronics.de Git - linux-beck.git/commit
[media] media: au0828 video change to use v4l_enable_media_source()
authorShuah Khan <shuahkh@osg.samsung.com>
Thu, 11 Feb 2016 23:41:37 +0000 (21:41 -0200)
committerMauro Carvalho Chehab <mchehab@osg.samsung.com>
Sat, 27 Feb 2016 12:35:18 +0000 (09:35 -0300)
commitb19581a94fb1c49afc0339a65f1ebd0e4ff80dcd
tree220f834a88b4bd1348e6cdc2d5100e264c612616
parent68ff5767ddc419c046571a95e21406c56a18eaf9
[media] media: au0828 video change to use v4l_enable_media_source()

Change au0828 to check if tuner is free or not before changing tuner
configuration.

vidioc_g_tuner(), and au0828_v4l2_close() now call v4l-core interface
v4l_enable_media_source() before changing tuner configuration.

Remove au0828_enable_analog_tuner() as it is no longer needed because
v4l2-core implements common interfaces to check for media source
availability.

In addition, queue_setup() no longer needs the tuner availability check
since v4l2-core does it.

Signed-off-by: Shuah Khan <shuahkh@osg.samsung.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
drivers/media/usb/au0828/au0828-video.c