Re: [RFC PATCHv2 00/19] power_supply: Allow safe usage of power supply

2015-01-21 Thread Krzysztof Kozlowski
On śro, 2015-01-21 at 16:22 +0100, Sebastian Reichel wrote: > Hi Krzysztof, > > On Mon, Jan 05, 2015 at 04:47:43PM +0100, Krzysztof Kozlowski wrote: > > This is RFC, please don't apply yet but let me know if this approach > > is OK. > > I just reviewed the patchset. It looks fine to me. Great!

Re: [RFC PATCHv2 00/19] power_supply: Allow safe usage of power supply

2015-01-21 Thread Sebastian Reichel
Hi Krzysztof, On Mon, Jan 05, 2015 at 04:47:43PM +0100, Krzysztof Kozlowski wrote: > This is RFC, please don't apply yet but let me know if this approach > is OK. I just reviewed the patchset. It looks fine to me. > TLDR > > Patchset tries to fix following race scenario: > > Thread 1:

Re: [RFC PATCHv2 00/19] power_supply: Allow safe usage of power supply

2015-01-21 Thread Krzysztof Kozlowski
On śro, 2015-01-21 at 16:22 +0100, Sebastian Reichel wrote: Hi Krzysztof, On Mon, Jan 05, 2015 at 04:47:43PM +0100, Krzysztof Kozlowski wrote: This is RFC, please don't apply yet but let me know if this approach is OK. I just reviewed the patchset. It looks fine to me. Great! Thanks

Re: [RFC PATCHv2 00/19] power_supply: Allow safe usage of power supply

2015-01-21 Thread Sebastian Reichel
Hi Krzysztof, On Mon, Jan 05, 2015 at 04:47:43PM +0100, Krzysztof Kozlowski wrote: This is RFC, please don't apply yet but let me know if this approach is OK. I just reviewed the patchset. It looks fine to me. TLDR Patchset tries to fix following race scenario: Thread 1: charger

[RFC PATCHv2 00/19] power_supply: Allow safe usage of power supply

2015-01-05 Thread Krzysztof Kozlowski
Hi, This is RFC, please don't apply yet but let me know if this approach is OK. TLDR Patchset tries to fix following race scenario: Thread 1: charger manager, CONSUMER Thread 2: power supply driver, PROVIDER THREAD 1 (charger manager) THREAD 2 (power supply driver)

[RFC PATCHv2 00/19] power_supply: Allow safe usage of power supply

2015-01-05 Thread Krzysztof Kozlowski
Hi, This is RFC, please don't apply yet but let me know if this approach is OK. TLDR Patchset tries to fix following race scenario: Thread 1: charger manager, CONSUMER Thread 2: power supply driver, PROVIDER THREAD 1 (charger manager) THREAD 2 (power supply driver)