From: Joonyoung Shim <jy0922.shim@samsung.com>
To: Tobias Lorenz <tobias.lorenz@gmx.net>
Cc: linux-media@vger.kernel.org, mchehab@infradead.org,
kyungmin.park@samsung.com
Subject: Re: [PATCH 1/3] radio-si470x: fix SYSCONFIG1 register set on si470x_start()
Date: Wed, 02 Dec 2009 08:54:15 +0900 [thread overview]
Message-ID: <4B15ACA7.6070807@samsung.com> (raw)
In-Reply-To: <200912020039.02737.tobias.lorenz@gmx.net>
Hi, Tobias.
On 12/2/2009 8:39 AM, Tobias Lorenz wrote:
> Hi,
>
> what is the advantage in not setting SYSCONFIG1 into a known state?
>
At patch 3/3, i am setting the SYSCONFIG1 register for RDS interrupt in
i2c probe function, so i need this patch. Do you have other idea?
> Bye,
> Toby
>
> Am Mittwoch 18 November 2009 07:21:25 schrieb Joonyoung Shim:
>> 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;
>>
>
next prev parent reply other threads:[~2009-12-01 23:54 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
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 [this message]
2009-12-02 0:12 ` Tobias Lorenz
2009-12-02 0:32 ` Joonyoung Shim
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=4B15ACA7.6070807@samsung.com \
--to=jy0922.shim@samsung.com \
--cc=kyungmin.park@samsung.com \
--cc=linux-media@vger.kernel.org \
--cc=mchehab@infradead.org \
--cc=tobias.lorenz@gmx.net \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.