firedtv: dvb_frontend_info for FireDTV S2, fix "frequency limits undefined" error
authorBeat Michel Liechti <bml303@gmail.com>
Tue, 24 Feb 2009 14:52:49 +0000 (15:52 +0100)
committerStefan Richter <stefanr@s5r6.in-berlin.de>
Tue, 24 Feb 2009 16:58:23 +0000 (17:58 +0100)
I found that the function fdtv_frontend_init in the file firedtv-fe.c was
missing a case for FIREDTV_DVB_S2 which resulted in "frequency limits
undefined" errors in syslog.

Signed-off-by: Beat Michel Liechti <bml303@gmail.com>
Change by Stefan R: combine it with case case FIREDTV_DVB_S as
originally suggested by Beat Michel.  This enables FE_CAN_FEC_AUTO also
for FireDTV-S2 devices which is possible as long as only DVB-S channels
are used.  FE_CAN_FEC_AUTO would be wrong for DVB-S2 channels, but those
cannot be used yet since the driver is not yet converted to S2API.

Signed-off-by: Stefan Richter <stefanr@s5r6.in-berlin.de>
drivers/media/dvb/firewire/firedtv-fe.c

index 9b9539c800f851f6c45d6cfe2e03a19f6e2fc564..7ba43630a25d49592ada766688fa15d7dd1aa29d 100644 (file)
@@ -185,6 +185,7 @@ void fdtv_frontend_init(struct firedtv *fdtv)
 
        switch (fdtv->type) {
        case FIREDTV_DVB_S:
+       case FIREDTV_DVB_S2:
                fi->type                = FE_QPSK;
 
                fi->frequency_min       = 950000;