aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMauro Carvalho Chehab <mchehab@redhat.com>2011-12-30 12:34:51 -0500
committerMauro Carvalho Chehab <mchehab@redhat.com>2011-12-30 12:34:51 -0500
commit1ca8dde859844c50e043182060acf14be5288463 (patch)
tree48080cd2ca5ca0bc47a997a955c6f7bd95d84000
parentf571e004c396c2ed8c2ba6bfc8a229b6bd5ab724 (diff)
[media] tda18271c2dd: fix support for DVB-C
As reported by Hartmut <e9hack@googlemail.com>: > A break is missing before the default statement. Delivery systems for DVB-C result always > in an error. Reported-by: Hartmut <e9hack@googlemail.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
-rw-r--r--drivers/media/dvb/frontends/tda18271c2dd.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/media/dvb/frontends/tda18271c2dd.c b/drivers/media/dvb/frontends/tda18271c2dd.c
index 0f8e9622bc96..f8933cf66ebb 100644
--- a/drivers/media/dvb/frontends/tda18271c2dd.c
+++ b/drivers/media/dvb/frontends/tda18271c2dd.c
@@ -1159,6 +1159,7 @@ static int set_params(struct dvb_frontend *fe,
1159 Standard = HF_DVBC_7MHZ; 1159 Standard = HF_DVBC_7MHZ;
1160 else 1160 else
1161 Standard = HF_DVBC_8MHZ; 1161 Standard = HF_DVBC_8MHZ;
1162 break;
1162 default: 1163 default:
1163 return -EINVAL; 1164 return -EINVAL;
1164 } 1165 }