public inbox for linux-media@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH 2/6] correct initialization of demphasis
@ 2011-05-01 19:01 Tobias Lorenz
  2011-05-03 15:16 ` Mauro Carvalho Chehab
  0 siblings, 1 reply; 2+ messages in thread
From: Tobias Lorenz @ 2011-05-01 19:01 UTC (permalink / raw)
  To: linux-media

This patch corrects the initialization of demphasis.

Signed-off-by: Tobias Lorenz <tobias.lorenz@gmx.net>
---
 drivers/media/radio/si470x/radio-si470x-common.c |    3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/drivers/media/radio/si470x/radio-si470x-common.c 
b/drivers/media/radio/si470x/radio-si470x-common.c
index ac76dfe..f016220 100644
--- a/drivers/media/radio/si470x/radio-si470x-common.c
+++ b/drivers/media/radio/si470x/radio-si470x-common.c
@@ -357,7 +357,8 @@ int si470x_start(struct si470x_device *radio)
 		goto done;
 
 	/* sysconfig 1 */
-	radio->registers[SYSCONFIG1] = SYSCONFIG1_DE;
+	radio->registers[SYSCONFIG1] =
+		(de << 11) & SYSCONFIG1_DE;		/* DE */
 	retval = si470x_set_register(radio, SYSCONFIG1);
 	if (retval < 0)
 		goto done;
-- 
1.7.4.1


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

* Re: [PATCH 2/6] correct initialization of demphasis
  2011-05-01 19:01 [PATCH 2/6] correct initialization of demphasis Tobias Lorenz
@ 2011-05-03 15:16 ` Mauro Carvalho Chehab
  0 siblings, 0 replies; 2+ messages in thread
From: Mauro Carvalho Chehab @ 2011-05-03 15:16 UTC (permalink / raw)
  To: Tobias Lorenz; +Cc: linux-media

Em 01-05-2011 16:01, Tobias Lorenz escreveu:
> This patch corrects the initialization of demphasis.

Patch were already applied
> 
> Signed-off-by: Tobias Lorenz <tobias.lorenz@gmx.net>
> ---
>  drivers/media/radio/si470x/radio-si470x-common.c |    3 ++-
>  1 file changed, 2 insertions(+), 1 deletion(-)
> 
> diff --git a/drivers/media/radio/si470x/radio-si470x-common.c 
> b/drivers/media/radio/si470x/radio-si470x-common.c
> index ac76dfe..f016220 100644
> --- a/drivers/media/radio/si470x/radio-si470x-common.c
> +++ b/drivers/media/radio/si470x/radio-si470x-common.c
> @@ -357,7 +357,8 @@ int si470x_start(struct si470x_device *radio)
>  		goto done;
>  
>  	/* sysconfig 1 */
> -	radio->registers[SYSCONFIG1] = SYSCONFIG1_DE;
> +	radio->registers[SYSCONFIG1] =
> +		(de << 11) & SYSCONFIG1_DE;		/* DE */
>  	retval = si470x_set_register(radio, SYSCONFIG1);
>  	if (retval < 0)
>  		goto done;


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

end of thread, other threads:[~2011-05-03 15:16 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-05-01 19:01 [PATCH 2/6] correct initialization of demphasis Tobias Lorenz
2011-05-03 15:16 ` 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