[media] dvb: don't use DVBv3 bandwidth macros
Every frontend now uses DVBv5 way. So, let's not use the DVBv3
macros internally anymore.
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
diff --git a/drivers/media/common/tuners/mxl5007t.c b/drivers/media/common/tuners/mxl5007t.c
index 844cfac..8f4899b 100644
--- a/drivers/media/common/tuners/mxl5007t.c
+++ b/drivers/media/common/tuners/mxl5007t.c
@@ -625,7 +625,6 @@
enum mxl5007t_mode mode;
int ret;
u32 freq = c->frequency;
- u32 band = BANDWIDTH_6_MHZ;
switch (delsys) {
case SYS_ATSC:
@@ -645,10 +644,8 @@
break;
case 7000000:
bw = MxL_BW_7MHz;
- band = BANDWIDTH_7_MHZ;
case 8000000:
bw = MxL_BW_8MHz;
- band = BANDWIDTH_8_MHZ;
default:
return -EINVAL;
}
@@ -672,7 +669,7 @@
goto fail;
state->frequency = freq;
- state->bandwidth = band;
+ state->bandwidth = c->bandwidth_hz;
fail:
mutex_unlock(&state->lock);