Skip to content

Commit

Permalink
[media] radio-si470x: de-emphasis should be set if requested by modul…
Browse files Browse the repository at this point in the history
…e parameter

instead of always setting de-emphasis.

Reported-by: Tobias Lorenz <tobias.lorenz@gmx.net>
Signed-off-by: Joonyoung Shim <jy0922.shim@samsung.com>
Acked-by: Tobias Lorenz <tobias.lorenz@gmx.net>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
  • Loading branch information
Tobias Lorenz authored and Mauro Carvalho Chehab committed Jan 19, 2011
1 parent a1198cc commit 131ddd1
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion drivers/media/radio/si470x/radio-si470x-common.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 131ddd1

Please sign in to comment.