Skip to content

Commit

Permalink
V4L/DVB (7411): use tuner-simple for Philips FCV1236D digital tuning …
Browse files Browse the repository at this point in the history
…support

Convert dvb-bt8xx to use tuner-simple instead of dvb-pll for Philips FCV1236D

Signed-off-by: Michael Krufky <mkrufky@linuxtv.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
  • Loading branch information
Michael Krufky authored and Mauro Carvalho Chehab committed Apr 24, 2008
1 parent 0efad81 commit 967be9a
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 3 deletions.
5 changes: 3 additions & 2 deletions drivers/media/dvb/bt8xx/dvb-bt8xx.c
Original file line number Diff line number Diff line change
Expand Up @@ -692,8 +692,9 @@ static void frontend_init(struct dvb_bt8xx_card *card, u32 type)
case BTTV_BOARD_PC_HDTV:
card->fe = dvb_attach(or51211_attach, &or51211_config, card->i2c_adapter);
if (card->fe != NULL)
dvb_attach(dvb_pll_attach, card->fe, 0x61,
card->i2c_adapter, DVB_PLL_FCV1236D);
dvb_attach(simple_tuner_attach, card->fe,
card->i2c_adapter, 0x61,
TUNER_PHILIPS_FCV1236D);
break;
}

Expand Down
1 change: 1 addition & 0 deletions drivers/media/dvb/bt8xx/dvb-bt8xx.h
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,7 @@
#include "lgdt330x.h"
#include "zl10353.h"
#include "dvb-pll.h"
#include "tuner-simple.h"

struct dvb_bt8xx_card {
struct mutex lock;
Expand Down
1 change: 1 addition & 0 deletions drivers/media/video/bt8xx/bttv.h
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@
#include <media/ir-common.h>
#include <media/ir-kbd-i2c.h>
#include <media/i2c-addr.h>
#include <media/tuner.h>

/* ---------------------------------------------------------- */
/* exported by bttv-cards.c */
Expand Down
1 change: 0 additions & 1 deletion drivers/media/video/bt8xx/bttvp.h
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,6 @@

#include <linux/device.h>
#include <media/videobuf-dma-sg.h>
#include <media/tuner.h>
#include <media/tveeprom.h>
#include <media/ir-common.h>

Expand Down

0 comments on commit 967be9a

Please sign in to comment.