Re: [PATCH] power_supply: sysfs: Bring back write to writeable properties

2015-06-10 Thread Sebastian Reichel
Hi, On Mon, Jun 08, 2015 at 10:09:48AM +0900, Krzysztof Kozlowski wrote: > The fix for NULL pointer exception related to calling uevent for not > finished probe caused to set all writeable properties as non-writeable. > This was caused by checking if property is writeable before the initial >

Re: [PATCH] power_supply: sysfs: Bring back write to writeable properties

2015-06-10 Thread Sebastian Reichel
Hi, On Mon, Jun 08, 2015 at 10:09:48AM +0900, Krzysztof Kozlowski wrote: The fix for NULL pointer exception related to calling uevent for not finished probe caused to set all writeable properties as non-writeable. This was caused by checking if property is writeable before the initial

[PATCH] power_supply: sysfs: Bring back write to writeable properties

2015-06-07 Thread Krzysztof Kozlowski
The fix for NULL pointer exception related to calling uevent for not finished probe caused to set all writeable properties as non-writeable. This was caused by checking if property is writeable before the initial increase of power supply usage counter and in the same time using wrapper over

[PATCH] power_supply: sysfs: Bring back write to writeable properties

2015-06-07 Thread Krzysztof Kozlowski
The fix for NULL pointer exception related to calling uevent for not finished probe caused to set all writeable properties as non-writeable. This was caused by checking if property is writeable before the initial increase of power supply usage counter and in the same time using wrapper over