public inbox for linux-media@vger.kernel.org
 help / color / mirror / Atom feed
* [media] tuners/xc5000: fix MODE_AIR in xc5000_set_params()
@ 2013-01-13 19:31 Dan Carpenter
  2013-02-05 23:00 ` Mauro Carvalho Chehab
  0 siblings, 1 reply; 2+ messages in thread
From: Dan Carpenter @ 2013-01-13 19:31 UTC (permalink / raw)
  To: Mauro Carvalho Chehab
  Cc: Michael Krufky, Devin Heitmueller, Tim Gardner, linux-media,
	kernel-janitors

There is a missing break so we use XC_RF_MODE_CABLE instead of
XC_RF_MODE_AIR.

Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
---
Static checker stuff.  Untested.

diff --git a/drivers/media/tuners/xc5000.c b/drivers/media/tuners/xc5000.c
index dc93cf3..d6be1b6 100644
--- a/drivers/media/tuners/xc5000.c
+++ b/drivers/media/tuners/xc5000.c
@@ -785,6 +785,7 @@ static int xc5000_set_params(struct dvb_frontend *fe)
 			return -EINVAL;
 		}
 		priv->rf_mode = XC_RF_MODE_AIR;
+		break;
 	case SYS_DVBC_ANNEX_A:
 	case SYS_DVBC_ANNEX_C:
 		dprintk(1, "%s() QAM modulation\n", __func__);

^ permalink raw reply related	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2013-02-05 23:00 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-01-13 19:31 [media] tuners/xc5000: fix MODE_AIR in xc5000_set_params() Dan Carpenter
2013-02-05 23:00 ` Mauro Carvalho Chehab

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox