diff options
author | Tobias Lorenz <tobias.lorenz@gmx.net> | 2011-01-08 12:12:30 -0500 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@redhat.com> | 2011-01-19 08:45:14 -0500 |
commit | 131ddd1a3072aebca666767151acaa7574beb583 (patch) | |
tree | 6cd197be02ede93267f7ddb5d00af24f48534c6d /drivers/media/radio | |
parent | a1198ccf9c52922e66a3372b0045ebe335a127dd (diff) |
[media] radio-si470x: de-emphasis should be set if requested by module 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>
Diffstat (limited to 'drivers/media/radio')
-rw-r--r-- | drivers/media/radio/si470x/radio-si470x-common.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/media/radio/si470x/radio-si470x-common.c b/drivers/media/radio/si470x/radio-si470x-common.c index ac76dfe5b3fa..35488baf29bd 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) | |||
357 | goto done; | 357 | goto done; |
358 | 358 | ||
359 | /* sysconfig 1 */ | 359 | /* sysconfig 1 */ |
360 | radio->registers[SYSCONFIG1] = SYSCONFIG1_DE; | 360 | radio->registers[SYSCONFIG1] = |
361 | (de << 11) & SYSCONFIG1_DE; /* DE*/ | ||
361 | retval = si470x_set_register(radio, SYSCONFIG1); | 362 | retval = si470x_set_register(radio, SYSCONFIG1); |
362 | if (retval < 0) | 363 | if (retval < 0) |
363 | goto done; | 364 | goto done; |