]> git.baikalelectronics.ru Git - kernel.git/commit
[media] media: au0828 enable the right media source when input changes
authorShuah Khan <shuahkh@osg.samsung.com>
Fri, 19 Feb 2016 00:28:48 +0000 (22:28 -0200)
committerMauro Carvalho Chehab <mchehab@osg.samsung.com>
Thu, 3 Mar 2016 14:35:31 +0000 (11:35 -0300)
commit506122be81bacb00f7b13181353b568e46449d69
treeb6736ec9972951453a01fce52390ffa061a7b904
parentd95d2121df411bb46f79570100821a9b1bf9308e
[media] media: au0828 enable the right media source when input changes

Change vidioc_s_input() to enable the media source for the newly
selected input.

v4l2-core enables source before calling au0828's vidioc_s_input()
handler. Hence, when input selection changes, media source for the
newly selected input needs to be enabled.

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