diff options
author | Mauro Carvalho Chehab <mchehab@infradead.org> | 2007-11-22 13:08:53 -0200 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@infradead.org> | 2007-11-22 13:08:53 -0200 |
commit | c90ce9754c3f2052b5f05586074c6bbf10fafde5 (patch) | |
tree | 948f5089dbc844bfa11ee361aa9825ffda0a7ace /linux/drivers/media/video/tuner-xc2028.c | |
parent | bdd18e571783ff031a46480596c182254c1c1835 (diff) | |
download | mediapointer-dvb-s2-c90ce9754c3f2052b5f05586074c6bbf10fafde5.tar.gz mediapointer-dvb-s2-c90ce9754c3f2052b5f05586074c6bbf10fafde5.tar.bz2 |
Convert MTS to bitfield
From: Mauro Carvalho Chehab <mchehab@infradead.org>
Xc2028.3028 has two type of firmwares: audio-standard specific ones and
baseband MTS firmwares. MTS firmwares provide stereo decoding for 6 MHz
BTSC/EIAJ and for monoaural audio decoding on 8 MHz firmwares.
It seems that the option to use MTS or a standard-specific audio decoding
depends on the way xc2028/3028 is connected.
Instead of wasting 32 (or 64 bits) to signalize if the driver needs to use MTS
firmware, this patch converts it to a bitfield that can be shared with other
proprieties of xc2028/3028.
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
Diffstat (limited to 'linux/drivers/media/video/tuner-xc2028.c')
-rw-r--r-- | linux/drivers/media/video/tuner-xc2028.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/linux/drivers/media/video/tuner-xc2028.c b/linux/drivers/media/video/tuner-xc2028.c index a802a9071..b6c404e03 100644 --- a/linux/drivers/media/video/tuner-xc2028.c +++ b/linux/drivers/media/video/tuner-xc2028.c @@ -646,7 +646,7 @@ static int check_firmware(struct dvb_frontend *fe, enum tuner_mode new_mode, return rc; } - if (priv->ctrl.type == XC2028_FIRM_MTS) + if (priv->ctrl.mts) type |= MTS; if (bandwidth == BANDWIDTH_7_MHZ || bandwidth == BANDWIDTH_8_MHZ) type |= F8MHZ; |