Message ID | 201105012101.15241.tobias.lorenz@gmx.net (mailing list archive) |
---|---|
State | Rejected |
Headers | show |
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; -- To unsubscribe from this list: send the line "unsubscribe linux-media" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html
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;
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(-)