aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--drivers/media/tuners/fc0012.c7
-rw-r--r--drivers/media/tuners/fc0012.h5
2 files changed, 12 insertions, 0 deletions
diff --git a/drivers/media/tuners/fc0012.c b/drivers/media/tuners/fc0012.c
index 636f951219db..1a52b766360f 100644
--- a/drivers/media/tuners/fc0012.c
+++ b/drivers/media/tuners/fc0012.c
@@ -460,6 +460,13 @@ struct dvb_frontend *fc0012_attach(struct dvb_frontend *fe,
460 if (priv->cfg->loop_through) 460 if (priv->cfg->loop_through)
461 fc0012_writereg(priv, 0x09, 0x6f); 461 fc0012_writereg(priv, 0x09, 0x6f);
462 462
463 /*
464 * TODO: Clock out en or div?
465 * For dual tuner configuration clearing bit [0] is required.
466 */
467 if (priv->cfg->clock_out)
468 fc0012_writereg(priv, 0x0b, 0x82);
469
463 memcpy(&fe->ops.tuner_ops, &fc0012_tuner_ops, 470 memcpy(&fe->ops.tuner_ops, &fc0012_tuner_ops,
464 sizeof(struct dvb_tuner_ops)); 471 sizeof(struct dvb_tuner_ops));
465 472
diff --git a/drivers/media/tuners/fc0012.h b/drivers/media/tuners/fc0012.h
index 891d66d5af3b..83a98e732502 100644
--- a/drivers/media/tuners/fc0012.h
+++ b/drivers/media/tuners/fc0012.h
@@ -41,6 +41,11 @@ struct fc0012_config {
41 * RF loop-through 41 * RF loop-through
42 */ 42 */
43 bool loop_through; 43 bool loop_through;
44
45 /*
46 * clock output
47 */
48 bool clock_out;
44}; 49};
45 50
46#if defined(CONFIG_MEDIA_TUNER_FC0012) || \ 51#if defined(CONFIG_MEDIA_TUNER_FC0012) || \