提交 131ddd1a 编写于 作者: T Tobias Lorenz 提交者: Mauro Carvalho Chehab

[media] radio-si470x: de-emphasis should be set if requested by module parameter

instead of always setting de-emphasis.
Reported-by: NTobias Lorenz <tobias.lorenz@gmx.net>
Signed-off-by: NJoonyoung Shim <jy0922.shim@samsung.com>
Acked-by: NTobias Lorenz <tobias.lorenz@gmx.net>
Signed-off-by: NMauro Carvalho Chehab <mchehab@redhat.com>
上级 a1198ccf
......@@ -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;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册