V4L/DVB (6660): Allow fully configuring xc3028 during xc2028_attach
authorMauro Carvalho Chehab <mchehab@infradead.org>
Thu, 22 Nov 2007 15:19:37 +0000 (12:19 -0300)
committerMauro Carvalho Chehab <mchehab@infradead.org>
Fri, 25 Jan 2008 21:02:39 +0000 (19:02 -0200)
commit71a2ee37e8851f430d72daea0722908512d57f79
tree29c63bcd6489bba68b354ddc3ee7613869fb09db
parent5add9a6f3c90680f89b4694e81025d2aed9559af
V4L/DVB (6660): Allow fully configuring xc3028 during xc2028_attach

xc3028 can be used on some DTV only designs (for example, DVB-S boards). Before
this patch, a DTV only board would need to call set_tuner_config callback.

This patch allows to optionally pass a xc3028_ctrl parameter, via xc3028_config
struct, fully initializing the driver for DTV.

Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
drivers/media/video/tuner-xc2028.c
drivers/media/video/tuner-xc2028.h