Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 131ddd1a authored by Tobias Lorenz's avatar Tobias Lorenz Committed by Mauro Carvalho Chehab
Browse files

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



instead of always setting de-emphasis.

Reported-by: default avatarTobias Lorenz <tobias.lorenz@gmx.net>
Signed-off-by: default avatarJoonyoung Shim <jy0922.shim@samsung.com>
Acked-by: default avatarTobias Lorenz <tobias.lorenz@gmx.net>
Signed-off-by: default avatarMauro Carvalho Chehab <mchehab@redhat.com>
parent a1198ccf
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -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;