linux-media.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 1/3] radio-si470x: fix SYSCONFIG1 register set on si470x_start()
@ 2009-11-18  6:21 Joonyoung Shim
  2009-12-01 23:39 ` Tobias Lorenz
  0 siblings, 1 reply; 5+ messages in thread
From: Joonyoung Shim @ 2009-11-18  6:21 UTC (permalink / raw)
  To: linux-media; +Cc: tobias.lorenz, mchehab, kyungmin.park

We should use the or operation to set value to the SYSCONFIG1 register
on si470x_start().

Signed-off-by: Joonyoung Shim <jy0922.shim@samsung.com>
---
 drivers/media/radio/si470x/radio-si470x-common.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/drivers/media/radio/si470x/radio-si470x-common.c b/drivers/media/radio/si470x/radio-si470x-common.c
index f33315f..09f631a 100644
--- a/drivers/media/radio/si470x/radio-si470x-common.c
+++ b/drivers/media/radio/si470x/radio-si470x-common.c
@@ -357,7 +357,7 @@ int si470x_start(struct si470x_device *radio)
 		goto done;
 
 	/* sysconfig 1 */
-	radio->registers[SYSCONFIG1] = SYSCONFIG1_DE;
+	radio->registers[SYSCONFIG1] |= SYSCONFIG1_DE;
 	retval = si470x_set_register(radio, SYSCONFIG1);
 	if (retval < 0)
 		goto done;
-- 
1.6.0.4

^ permalink raw reply related	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2009-12-02  0:32 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-11-18  6:21 [PATCH 1/3] radio-si470x: fix SYSCONFIG1 register set on si470x_start() Joonyoung Shim
2009-12-01 23:39 ` Tobias Lorenz
2009-12-01 23:54   ` Joonyoung Shim
2009-12-02  0:12     ` Tobias Lorenz
2009-12-02  0:32       ` Joonyoung Shim

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).