diff options
Diffstat (limited to 'drivers/media/video/tuner-xc2028.c')
-rw-r--r-- | drivers/media/video/tuner-xc2028.c | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/drivers/media/video/tuner-xc2028.c b/drivers/media/video/tuner-xc2028.c index e1796ebb7c71..7acc175d805a 100644 --- a/drivers/media/video/tuner-xc2028.c +++ b/drivers/media/video/tuner-xc2028.c | |||
@@ -957,12 +957,14 @@ static int xc2028_set_params(struct dvb_frontend *fe, | |||
957 | type |= D2620; | 957 | type |= D2620; |
958 | 958 | ||
959 | switch(fe->ops.info.type) { | 959 | switch(fe->ops.info.type) { |
960 | case FE_QPSK: | ||
961 | break; | ||
962 | case FE_OFDM: | 960 | case FE_OFDM: |
963 | bw = p->u.ofdm.bandwidth; | 961 | bw = p->u.ofdm.bandwidth; |
964 | break; | 962 | break; |
965 | case FE_QAM: | 963 | case FE_QAM: |
964 | tuner_info("WARN: There are some reports that " | ||
965 | "QAM 6 MHz doesn't work.\n" | ||
966 | "If this works for you, please report by " | ||
967 | "e-mail to: v4l-dvb-maintainer@linuxtv.org\n"); | ||
966 | bw = BANDWIDTH_6_MHZ; | 968 | bw = BANDWIDTH_6_MHZ; |
967 | type |= QAM; | 969 | type |= QAM; |
968 | break; | 970 | break; |
@@ -970,6 +972,9 @@ static int xc2028_set_params(struct dvb_frontend *fe, | |||
970 | bw = BANDWIDTH_6_MHZ; | 972 | bw = BANDWIDTH_6_MHZ; |
971 | type |= ATSC| D2633; | 973 | type |= ATSC| D2633; |
972 | break; | 974 | break; |
975 | /* DVB-S is not supported */ | ||
976 | default: | ||
977 | return -EINVAL; | ||
973 | } | 978 | } |
974 | 979 | ||
975 | /* FIXME: | 980 | /* FIXME: |