All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] [Resend] cxusb, d680 dmbth use unified lgs8gxx code instead of lgs8gl5
@ 2009-06-10 17:16 David Wong
  2009-06-16 19:05 ` Mauro Carvalho Chehab
  0 siblings, 1 reply; 3+ messages in thread
From: David Wong @ 2009-06-10 17:16 UTC (permalink / raw)
  To: linux-media; +Cc: mchehab

[-- Attachment #1: Type: text/plain, Size: 262 bytes --]

Use unified lgs8gxx frontend instead of reverse engineered lgs8gl5 frontend.
After this patch, lgs8gl5 frontend could be mark as deprecated.
Future development should base on unified lgs8gxx frontend.

Signed-off-by: David T.L. Wong <davidtlwong <at> gmail.com>

[-- Attachment #2: d680_lgs8gxx.patch --]
[-- Type: text/x-patch, Size: 1344 bytes --]

changeset:   11831:2fe3ef06a8e2
tag:         tip
user:        marvel@DHM200
date:        Mon May 18 17:03:36 2009 +0800
summary:     cxusb: d680 switch from lgs8gl5 to unified lgs8gxx frontend driver

diff -r 32e66a2bd568 -r 2fe3ef06a8e2 linux/drivers/media/dvb/dvb-usb/cxusb.c
--- a/linux/drivers/media/dvb/dvb-usb/cxusb.c	Mon May 18 16:01:15 2009 +0800
+++ b/linux/drivers/media/dvb/dvb-usb/cxusb.c	Mon May 18 17:03:36 2009 +0800
@@ -38,7 +38,7 @@
 #include "mxl5005s.h"
 #include "dib7000p.h"
 #include "dib0070.h"
-#include "lgs8gl5.h"
+#include "lgs8gxx.h"
 
 /* debug */
 static int dvb_usb_cxusb_debug;
@@ -1097,8 +1097,18 @@
 	return -EIO;
 }
 
-static struct lgs8gl5_config lgs8gl5_cfg = {
+static struct lgs8gxx_config d680_lgs8gl5_cfg = {
+	.prod = LGS8GXX_PROD_LGS8GL5,
 	.demod_address = 0x19,
+	.serial_ts = 0,
+	.ts_clk_pol = 0,
+	.ts_clk_gated = 1,
+	.if_clk_freq = 30400, /* 30.4 MHz */
+	.if_freq = 5725, /* 5.725 MHz */
+	.if_neg_center = 0,
+	.ext_adc = 0,
+	.adc_signed = 0,
+	.if_neg_edge = 0,
 };
 
 static int cxusb_d680_dmb_frontend_attach(struct dvb_usb_adapter *adap)
@@ -1138,7 +1148,7 @@
 	msleep(100);
 
 	/* Attach frontend */
-	adap->fe = dvb_attach(lgs8gl5_attach, &lgs8gl5_cfg, &d->i2c_adap);
+	adap->fe = dvb_attach(lgs8gxx_attach, &d680_lgs8gl5_cfg, &d->i2c_adap);
 	if (adap->fe == NULL)
 		return -EIO;
 


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

* Re: [PATCH] [Resend] cxusb, d680 dmbth use unified lgs8gxx code instead  of lgs8gl5
  2009-06-10 17:16 [PATCH] [Resend] cxusb, d680 dmbth use unified lgs8gxx code instead of lgs8gl5 David Wong
@ 2009-06-16 19:05 ` Mauro Carvalho Chehab
  2009-06-24  2:29   ` Timothy Lee
  0 siblings, 1 reply; 3+ messages in thread
From: Mauro Carvalho Chehab @ 2009-06-16 19:05 UTC (permalink / raw)
  To: David Wong, Timothy Lee, Michael Krufky; +Cc: linux-media

Hi David,

Em Thu, 11 Jun 2009 01:16:13 +0800
David Wong <davidtlwong@gmail.com> escreveu:

> Use unified lgs8gxx frontend instead of reverse engineered lgs8gl5 frontend.
> After this patch, lgs8gl5 frontend could be mark as deprecated.
> Future development should base on unified lgs8gxx frontend.
> 
> Signed-off-by: David T.L. Wong <davidtlwong <at> gmail.com>

Your patch makes sense. Have you tested it with the Magic-Pro DMB-TH usb stick? 

Michael and Timothy,

Can you check if the new frontend module works with the currently supported
devices?



Cheers,
Mauro

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

* Re: [PATCH] [Resend] cxusb, d680 dmbth use unified lgs8gxx code instead of lgs8gl5
  2009-06-16 19:05 ` Mauro Carvalho Chehab
@ 2009-06-24  2:29   ` Timothy Lee
  0 siblings, 0 replies; 3+ messages in thread
From: Timothy Lee @ 2009-06-24  2:29 UTC (permalink / raw)
  To: Mauro Carvalho Chehab; +Cc: David Wong, Michael Krufky, linux-media

On 06/17/2009 03:05 AM, Mauro Carvalho Chehab wrote:
> Hi David,
>
> Em Thu, 11 Jun 2009 01:16:13 +0800
> David Wong<davidtlwong@gmail.com>  escreveu:
>    
>> Use unified lgs8gxx frontend instead of reverse engineered lgs8gl5 frontend.
>> After this patch, lgs8gl5 frontend could be mark as deprecated.
>> Future development should base on unified lgs8gxx frontend.
>>
>> Signed-off-by: David T.L. Wong<davidtlwong<at>  gmail.com>
>>      
> Your patch makes sense. Have you tested it with the Magic-Pro DMB-TH usb stick?
>
> Michael and Timothy,
>
> Can you check if the new frontend module works with the currently supported
> devices?
>    
Dear all,

It's Timothy here -- I'm the original author of the lgs8gl5 module.  
Sorry for the late reply, but since my office's relocation, I've been 
having a hard time getting good TV reception, and had not been able to 
exercise the patch.

However, I've been in close contact with David, and did try an earlier 
version of his patch prior to moving, so I'm optimistic that it should work.


Regards,
Timothy Lee

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

end of thread, other threads:[~2009-06-24  3:05 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-06-10 17:16 [PATCH] [Resend] cxusb, d680 dmbth use unified lgs8gxx code instead of lgs8gl5 David Wong
2009-06-16 19:05 ` Mauro Carvalho Chehab
2009-06-24  2:29   ` Timothy Lee

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.