[media] mxl5007t: bugfix DVB-T 7 MHz and 8 MHz bandwidth
authorAntti Palosaari <crope@iki.fi>
Tue, 10 Jan 2012 16:31:37 +0000 (13:31 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Wed, 11 Jan 2012 00:38:15 +0000 (22:38 -0200)
DVB-T did not work at all - only 6 MHz was working but it is not
commonly used.
Fix it.

Signed-off-by: Antti Palosaari <crope@iki.fi>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
drivers/media/common/tuners/mxl5007t.c

index 8f4899b0dc64d3854f27afc9b949e6f705ad1f7a..69e453ef0a1a8631ae3067fb9eb2780fa7768040 100644 (file)
@@ -644,8 +644,10 @@ static int mxl5007t_set_params(struct dvb_frontend *fe)
                        break;
                case 7000000:
                        bw = MxL_BW_7MHz;
+                       break;
                case 8000000:
                        bw = MxL_BW_8MHz;
+                       break;
                default:
                        return -EINVAL;
                }