mirror of
https://github.com/vincentmli/bpfire.git
synced 2026-04-09 18:45:54 +02:00
v4l-dvb: fix tua6034 pll bandwich config.
Now the Skymaster DTMU 100 works again.
This commit is contained in:
@@ -80,6 +80,8 @@ $(TARGET) : $(patsubst %,$(DIR_DL)/%,$(objects))
|
||||
cd $(DIR_APP) && patch -Np1 < $(DIR_SRC)/src/patches/v4l-dvb_rtl28xx_add_usb_ids.patch
|
||||
cd $(DIR_APP) && patch -Np1 < $(DIR_SRC)/src/patches/v4l-dvb_rtl28xx_commented_usb_clear_halt.patch
|
||||
cd $(DIR_APP) && patch -Np1 < $(DIR_SRC)/src/patches/v4l-dvb_usbv2_dont_report_pidfilter_fail.patch
|
||||
cd $(DIR_APP) && patch -Np1 < $(DIR_SRC)/src/patches/v4l-dvb_fix_tua6034_pll.patch
|
||||
|
||||
cd $(DIR_APP) && make allyesconfig KERNELRELEASE=$(KVER)-$(VERSUFIX) VER=$(XVER)
|
||||
ifeq "$(KCFG)" "-omap"
|
||||
# Disable failing OMAP2 Video Out and IR RX51 driver
|
||||
|
||||
12
src/patches/v4l-dvb_fix_tua6034_pll.patch
Normal file
12
src/patches/v4l-dvb_fix_tua6034_pll.patch
Normal file
@@ -0,0 +1,12 @@
|
||||
diff -Naur v4l-dvb-20120916.org/linux/drivers/media/dvb-frontends/dvb-pll.c v4l-dvb-20120916/linux/drivers/media/dvb-frontends/dvb-pll.c
|
||||
--- v4l-dvb-20120916.org/linux/drivers/media/dvb-frontends/dvb-pll.c 2012-08-14 05:45:22.000000000 +0200
|
||||
+++ v4l-dvb-20120916/linux/drivers/media/dvb-frontends/dvb-pll.c 2012-10-25 14:06:42.123360189 +0200
|
||||
@@ -247,7 +247,7 @@
|
||||
static void tua6034_bw(struct dvb_frontend *fe, u8 *buf)
|
||||
{
|
||||
u32 bw = fe->dtv_property_cache.bandwidth_hz;
|
||||
- if (bw == 7000000)
|
||||
+ if (bw != 7000000)
|
||||
buf[3] |= 0x08;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user