[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)
commit2e208c64e3aa7abe7b79963bb29f5d14a4b96e58
tree314387e26c8082356f23d1d8152918a596ed6b2f
parentf55532a0c0b8bb6148f4e07853b876ef73bc69ca
[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: 9822f4173f84 ('[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