Re: [PATCH v13 1/2] leds: core: Introduce LED pattern trigger

2018-10-01 Thread Jacek Anaszewski
Hi Baolin, On 10/01/2018 03:18 PM, Baolin Wang wrote: > Hi Jacek, > > On 30 September 2018 at 23:33, Jacek Anaszewski > wrote: >> Hi Baolin, >> >> Thank you for adding the dimming support. >> >> I've tested it and detected severe problem when >> delta_t is lower than 50, i.e. UPDATE_INTERVAL. >>

Re: [PATCH v13 1/2] leds: core: Introduce LED pattern trigger

2018-10-01 Thread Baolin Wang
Hi Jacek, On 30 September 2018 at 23:33, Jacek Anaszewski wrote: > Hi Baolin, > > Thank you for adding the dimming support. > > I've tested it and detected severe problem when > delta_t is lower than 50, i.e. UPDATE_INTERVAL. > > echo "10 49 20 49" > pattern > > results after a while in a system

Re: [PATCH v13 1/2] leds: core: Introduce LED pattern trigger

2018-09-30 Thread Jacek Anaszewski
Hi Baolin, Thank you for adding the dimming support. I've tested it and detected severe problem when delta_t is lower than 50, i.e. UPDATE_INTERVAL. echo "10 49 20 49" > pattern results after a while in a system wide freeze, see the following kernel log: [ 210.593592] rcu: INFO: rcu_sched sel

[PATCH v13 1/2] leds: core: Introduce LED pattern trigger

2018-09-26 Thread Baolin Wang
This patch adds one new led trigger that LED device can configure the software or hardware pattern and trigger it. Consumers can write 'pattern' file to enable the software pattern which alters the brightness for the specified duration with one software timer. Moreover consumers can write 'hw_pat