Skip to content

Commit

Permalink
Merge pull request torvalds#112 from crazycat69/tbs
Browse files Browse the repository at this point in the history
TBS 5220, 5881 support.
  • Loading branch information
ljalves committed Mar 1, 2016
2 parents 6f2f8f3 + 2e79295 commit 88df4e2
Show file tree
Hide file tree
Showing 7 changed files with 1,357 additions and 2 deletions.
18 changes: 18 additions & 0 deletions drivers/media/usb/dvb-usb/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -393,3 +393,21 @@ config DVB_USB_TBS5880
select MEDIA_TUNER_TDA18212 if MEDIA_SUBDRV_AUTOSELECT
help
Say Y here to support the TurboSight TBS5880 DVB-T/T2/C USB2.0 receivers

config DVB_USB_TBS5220
tristate "TurboSight TBS5220 DVB-T/T2/C USB2.0 support"
depends on DVB_USB
select DVB_PLL if MEDIA_SUBDRV_AUTOSELECT
select DVB_SI2168 if MEDIA_SUBDRV_AUTOSELECT
select MEDIA_TUNER_SI2157 if MEDIA_SUBDRV_AUTOSELECT
help
Say Y here to support the TurboSight TBS5220 DVB-T/T2/C USB2.0 receivers

config DVB_USB_TBS5881
tristate "TurboSight TBS5881 DVB-T/T2/C USB2.0 support"
depends on DVB_USB
select DVB_PLL if MEDIA_SUBDRV_AUTOSELECT
select DVB_SI2168 if MEDIA_SUBDRV_AUTOSELECT
select MEDIA_TUNER_SI2157 if MEDIA_SUBDRV_AUTOSELECT
help
Say Y here to support the TurboSight TBS5881 DVB-T/T2/C USB2.0 receivers
6 changes: 6 additions & 0 deletions drivers/media/usb/dvb-usb/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -100,6 +100,12 @@ obj-$(CONFIG_DVB_USB_TBS5925) += dvb-usb-tbs5925.o
dvb-usb-tbs5880-objs = tbs5880.o
obj-$(CONFIG_DVB_USB_TBS5880) += dvb-usb-tbs5880.o

dvb-usb-tbs5220-objs = tbs5220.o
obj-$(CONFIG_DVB_USB_TBS5220) += dvb-usb-tbs5220.o

dvb-usb-tbs5881-objs = tbs5881.o
obj-$(CONFIG_DVB_USB_TBS5881) += dvb-usb-tbs5881.o

ccflags-y += -I$(srctree)/drivers/media/dvb-core
ccflags-y += -I$(srctree)/drivers/media/dvb-frontends/
# due to tuner-xc3028
Expand Down
3 changes: 1 addition & 2 deletions drivers/media/usb/dvb-usb/cxusb.c
Original file line number Diff line number Diff line change
Expand Up @@ -1345,8 +1345,6 @@ static int cxusb_mygica_t230_frontend_attach(struct dvb_usb_adapter *adap)
return -ENODEV;
}

st->i2c_client_demod = client_demod;

/* attach tuner */
memset(&si2157_config, 0, sizeof(si2157_config));
si2157_config.fe = adap->fe_adap[0].fe;
Expand All @@ -1369,6 +1367,7 @@ static int cxusb_mygica_t230_frontend_attach(struct dvb_usb_adapter *adap)
return -ENODEV;
}

st->i2c_client_demod = client_demod;
st->i2c_client_tuner = client_tuner;

return 0;
Expand Down
Loading

0 comments on commit 88df4e2

Please sign in to comment.