Re: rtc: isl1208: avoid possible sysfs race

2018-09-25 Thread Alexandre Belloni
On 25/09/2018 06:46:24+, Denis OSTERLAND wrote: > Hi, > > just for clarification: > This changes user-space representation from > /sys/class/rtc/rtcN/device/{atrim,dtrim,usr} > to > /sys/class/rtc/rtcN/{atrim,dtrim,usr} > and fixes the "mistake made back in 2006" you mention in >

Re: rtc: isl1208: avoid possible sysfs race

2018-09-25 Thread Alexandre Belloni
On 25/09/2018 06:46:24+, Denis OSTERLAND wrote: > Hi, > > just for clarification: > This changes user-space representation from > /sys/class/rtc/rtcN/device/{atrim,dtrim,usr} > to > /sys/class/rtc/rtcN/{atrim,dtrim,usr} > and fixes the "mistake made back in 2006" you mention in >

Re: rtc: isl1208: avoid possible sysfs race

2018-09-25 Thread Denis OSTERLAND
Hi, just for clarification: This changes user-space representation from /sys/class/rtc/rtcN/device/{atrim,dtrim,usr} to /sys/class/rtc/rtcN/{atrim,dtrim,usr} and fixes the "mistake made back in 2006" you mention in https://patchwork.ozlabs.org/patch/881397/ correct? Regards Denis Am Samstag,

Re: rtc: isl1208: avoid possible sysfs race

2018-09-25 Thread Denis OSTERLAND
Hi, just for clarification: This changes user-space representation from /sys/class/rtc/rtcN/device/{atrim,dtrim,usr} to /sys/class/rtc/rtcN/{atrim,dtrim,usr} and fixes the "mistake made back in 2006" you mention in https://patchwork.ozlabs.org/patch/881397/ correct? Regards Denis Am Samstag,

[PATCH] rtc: isl1208: avoid possible sysfs race

2018-09-15 Thread Alexandre Belloni
Use rtc_add_group to add the common sysfs group to avoid a possible race condition. Signed-off-by: Alexandre Belloni --- drivers/rtc/rtc-isl1208.c | 11 +-- 1 file changed, 1 insertion(+), 10 deletions(-) diff --git a/drivers/rtc/rtc-isl1208.c b/drivers/rtc/rtc-isl1208.c index

[PATCH] rtc: isl1208: avoid possible sysfs race

2018-09-15 Thread Alexandre Belloni
Use rtc_add_group to add the common sysfs group to avoid a possible race condition. Signed-off-by: Alexandre Belloni --- drivers/rtc/rtc-isl1208.c | 11 +-- 1 file changed, 1 insertion(+), 10 deletions(-) diff --git a/drivers/rtc/rtc-isl1208.c b/drivers/rtc/rtc-isl1208.c index