[media] au0828: Cache the decoder info at au0828 dev structure
authorMauro Carvalho Chehab <mchehab@osg.samsung.com>
Thu, 18 Jun 2015 16:06:38 +0000 (13:06 -0300)
committerMauro Carvalho Chehab <mchehab@osg.samsung.com>
Mon, 11 Jan 2016 14:18:39 +0000 (12:18 -0200)
commit0158e7b6a29f33a2c91cf045468958fbe8cb0b4c
treebf8910826ee8bd6f5dc29e93e21d285a5ede7eac
parentbed6919665072b1e5bad31a013d53798394e097c
[media] au0828: Cache the decoder info at au0828 dev structure

Instead of seeking for the decoder every time analog stream is
started, cache it. This simplifies the code a little bit.

Requested-by: Hans Verkuil <hverkuil@xs4all.nl>
Acked-by: Hans Verkuil <hans.verkuil@cisco.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
drivers/media/usb/au0828/au0828-cards.c
drivers/media/usb/au0828/au0828-video.c
drivers/media/usb/au0828/au0828.h