All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 04/18] xc5000: add support for DVB-C tuning.
@ 2010-12-31 11:37 Igor M. Liplianin
  2011-01-01  9:43 ` Benny Amorsen
  0 siblings, 1 reply; 4+ messages in thread
From: Igor M. Liplianin @ 2010-12-31 11:37 UTC (permalink / raw)
  To: mchehab, linux-media, linux-kernel

Signed-off-by: Igor M. Liplianin <liplianin@netup.ru>
---
 drivers/media/common/tuners/xc5000.c |   18 ++++++++++++++++++
 1 files changed, 18 insertions(+), 0 deletions(-)

diff --git a/drivers/media/common/tuners/xc5000.c b/drivers/media/common/tuners/xc5000.c
index 76ac5cd..e3218c9 100644
--- a/drivers/media/common/tuners/xc5000.c
+++ b/drivers/media/common/tuners/xc5000.c
@@ -683,6 +683,24 @@ static int xc5000_set_params(struct dvb_frontend *fe,
 			return -EINVAL;
 		}
 		priv->rf_mode = XC_RF_MODE_AIR;
+	} else if (fe->ops.info.type == FE_QAM) {
+		dprintk(1, "%s() QAM\n", __func__);
+		switch (params->u.qam.modulation) {
+		case QAM_16:
+		case QAM_32:
+		case QAM_64:
+		case QAM_128:
+		case QAM_256:
+		case QAM_AUTO:
+			dprintk(1, "%s() QAM modulation\n", __func__);
+			priv->bandwidth = BANDWIDTH_8_MHZ;
+			priv->video_standard = DTV7_8;
+			priv->freq_hz = params->frequency - 2750000;
+			priv->rf_mode = XC_RF_MODE_CABLE;
+			break;
+		default:
+			return -EINVAL;
+		}
 	} else {
 		printk(KERN_ERR "xc5000 modulation type not supported!\n");
 		return -EINVAL;
-- 
1.7.1


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

* Re: [PATCH 04/18] xc5000: add support for DVB-C tuning.
  2010-12-31 11:37 [PATCH 04/18] xc5000: add support for DVB-C tuning Igor M. Liplianin
@ 2011-01-01  9:43 ` Benny Amorsen
  2011-01-01  9:57     ` Igor M. Liplianin
  0 siblings, 1 reply; 4+ messages in thread
From: Benny Amorsen @ 2011-01-01  9:43 UTC (permalink / raw)
  To: Igor M. Liplianin; +Cc: mchehab, linux-media, linux-kernel

It is always good to see more DVB-C devices supported... Do you happen
to know some devices which have DVB-C support and use this chip?


/Benny


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

* Re: [PATCH 04/18] xc5000: add support for DVB-C tuning.
  2011-01-01  9:43 ` Benny Amorsen
@ 2011-01-01  9:57     ` Igor M. Liplianin
  0 siblings, 0 replies; 4+ messages in thread
From: Igor M. Liplianin @ 2011-01-01  9:57 UTC (permalink / raw)
  To: Benny Amorsen; +Cc: mchehab, linux-media, linux-kernel

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: Text/Plain; charset="utf-8", Size: 519 bytes --]

В сообщении от 1 января 2011 11:43:28 автор Benny Amorsen написал:
> It is always good to see more DVB-C devices supported... Do you happen
> to know some devices which have DVB-C support and use this chip?
> 
> 
> /Benny
See next patch ...

-- 
Igor M. Liplianin
Microsoft Windows Free Zone - Linux used for all Computing Tasks
ÿôèº{.nÇ+‰·Ÿ®‰­†+%ŠËÿ±éݶ\x17¥Šwÿº{.nÇ+‰·¥Š{±þG«éÿŠ{ayº\x1dʇڙë,j\a­¢f£¢·hšïêÿ‘êçz_è®\x03(­éšŽŠÝ¢j"ú\x1a¶^[m§ÿÿ¾\a«þG«éÿ¢¸?™¨è­Ú&£ø§~á¶iO•æ¬z·švØ^\x14\x04\x1a¶^[m§ÿÿÃ\fÿ¶ìÿ¢¸?–I¥

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

* Re: [PATCH 04/18] xc5000: add support for DVB-C tuning.
@ 2011-01-01  9:57     ` Igor M. Liplianin
  0 siblings, 0 replies; 4+ messages in thread
From: Igor M. Liplianin @ 2011-01-01  9:57 UTC (permalink / raw)
  To: Benny Amorsen; +Cc: mchehab, linux-media, linux-kernel

В сообщении от 1 января 2011 11:43:28 автор Benny Amorsen написал:
> It is always good to see more DVB-C devices supported... Do you happen
> to know some devices which have DVB-C support and use this chip?
> 
> 
> /Benny
See next patch ...

-- 
Igor M. Liplianin
Microsoft Windows Free Zone - Linux used for all Computing Tasks

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

end of thread, other threads:[~2011-01-01 10:49 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-12-31 11:37 [PATCH 04/18] xc5000: add support for DVB-C tuning Igor M. Liplianin
2011-01-01  9:43 ` Benny Amorsen
2011-01-01  9:57   ` Igor M. Liplianin
2011-01-01  9:57     ` Igor M. Liplianin

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.