lkml.org 
[lkml]   [2013]   [Feb]   [23]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRe: [RFE PATCH 2/2] rtc, add write functionality to sysfs
Date
On 22/feb/2013, at 22:05, John Stultz <john.stultz@linaro.org> wrote:

> On 02/22/2013 12:55 PM, Prarit Bhargava wrote:
>>
>> On 02/22/2013 03:43 PM, John Stultz wrote:
>>> On 02/14/2013 09:02 AM, Prarit Bhargava wrote:
>>>> /sys/class/rtc/rtcX/date and /sys/class/rtc/rtcX/time currently have
>>>> read-only access. This patch introduces write functionality which will
>>>> set the rtc time.
>>>>
>>>> Usage: echo YYYY-MM-DD > /sys/class/rtc/rtcX/date
>>>> echo HH:MM:SS > /sys/class/rtc/rtcX/time
>>> Why do we want to add a new interface here?
>> John,
>>
>> I'm not adding a new interface. The current date/time interface only handles
>> read and I'm introducing write.
>>
>
> Right, but what benefit does that provide?
> (I'm not saying there isn't any, its just not clear from your patch why this is a good thing.)
>
> Also CC'ing Alessandro for his input.

I'd like to keep the interfaces as simple as possible but I'm open to improvements if there are good use cases.


--
Best regards,
Alessandro Zummo
Tower Technologies

\
 
 \ /
  Last update: 2013-02-24 00:41    [W:0.082 / U:1.964 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site