]> git.baikalelectronics.ru Git - kernel.git/commit
[media] au0828: disable tuner links and cache tuner/decoder
authorMauro Carvalho Chehab <mchehab@osg.samsung.com>
Fri, 11 Mar 2016 19:02:14 +0000 (16:02 -0300)
committerMauro Carvalho Chehab <mchehab@osg.samsung.com>
Thu, 31 Mar 2016 17:50:38 +0000 (14:50 -0300)
commit3ac7ac7759ba8048ba386d9fb9ad9e33ebb80f33
tree314387e26c8082356f23d1d8152918a596ed6b2f
parent3039f62d3fccb077513a4ffae4d1ef4609c1b724
[media] au0828: disable tuner links and cache tuner/decoder

For au0828_enable_source() to work, the tuner links should be
disabled and the tuner/decoder should be cached at au0828 struct.

While here, put dev->decoder cache together with dev->tuner, as
it makes easier to drop both latter if/when we move the enable
routines to the V4L2 core.

Fixes: 5b1c112b56d2 ('[media] au0828: use v4l2_mc_create_media_graph()')
Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
Reviewed-by: Shuah Khan <shuahkh@osg.samsung.com>
Tested-by: Shuah Khan <shuahkh@osg.samsung.com>
drivers/media/usb/au0828/au0828-cards.c
drivers/media/usb/au0828/au0828-core.c