[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/dvb/frontends/dvb-pll.c b/drivers/media/dvb/frontends/dvb-pll.c
index 978805e..1ab3483 100644
--- a/drivers/media/dvb/frontends/dvb-pll.c
+++ b/drivers/media/dvb/frontends/dvb-pll.c
@@ -635,12 +635,7 @@
}
priv->frequency = frequency;
- if (c->bandwidth_hz <= 6000000)
- priv->bandwidth = BANDWIDTH_6_MHZ;
- else if (c->bandwidth_hz <= 7000000)
- priv->bandwidth = BANDWIDTH_7_MHZ;
- if (c->bandwidth_hz <= 8000000)
- priv->bandwidth = BANDWIDTH_8_MHZ;
+ priv->bandwidth = c->bandwidth_hz;
return 0;
}