Re: [RESEND PATCH] power: supply: sysfs: parse string as enum when writing property

2017-06-07 Thread Sebastian Reichel
Hi, On Mon, May 15, 2017 at 04:21:15PM -0500, David Lechner wrote: > This fixes the TODO to parse strings and convert them to enum values > when writing to a power_supply class property sysfs attribute. > > There is at least one driver that has a writable enum property that > previously could

Re: [RESEND PATCH] power: supply: sysfs: parse string as enum when writing property

2017-06-07 Thread Sebastian Reichel
Hi, On Mon, May 15, 2017 at 04:21:15PM -0500, David Lechner wrote: > This fixes the TODO to parse strings and convert them to enum values > when writing to a power_supply class property sysfs attribute. > > There is at least one driver that has a writable enum property that > previously could

[RESEND PATCH] power: supply: sysfs: parse string as enum when writing property

2017-05-15 Thread David Lechner
This fixes the TODO to parse strings and convert them to enum values when writing to a power_supply class property sysfs attribute. There is at least one driver that has a writable enum property that previously could only be written as an integer, so a fallback to writing enums as integers

[RESEND PATCH] power: supply: sysfs: parse string as enum when writing property

2017-05-15 Thread David Lechner
This fixes the TODO to parse strings and convert them to enum values when writing to a power_supply class property sysfs attribute. There is at least one driver that has a writable enum property that previously could only be written as an integer, so a fallback to writing enums as integers

Re: [PATCH] power: supply: sysfs: parse string as enum when writing property

2017-04-12 Thread Sebastian Reichel
Hi, On Tue, Apr 11, 2017 at 11:38:40AM -0500, David Lechner wrote: > On 04/11/2017 11:12 AM, Sebastian Reichel wrote: > > On Mon, Apr 03, 2017 at 02:52:57PM -0500, David Lechner wrote: > > > This fixes the TODO to parse strings and convert them to enum values > > > when writing to a power_supply

Re: [PATCH] power: supply: sysfs: parse string as enum when writing property

2017-04-12 Thread Sebastian Reichel
Hi, On Tue, Apr 11, 2017 at 11:38:40AM -0500, David Lechner wrote: > On 04/11/2017 11:12 AM, Sebastian Reichel wrote: > > On Mon, Apr 03, 2017 at 02:52:57PM -0500, David Lechner wrote: > > > This fixes the TODO to parse strings and convert them to enum values > > > when writing to a power_supply

Re: [PATCH] power: supply: sysfs: parse string as enum when writing property

2017-04-11 Thread David Lechner
On 04/11/2017 11:12 AM, Sebastian Reichel wrote: Hi, On Mon, Apr 03, 2017 at 02:52:57PM -0500, David Lechner wrote: This fixes the TODO to parse strings and convert them to enum values when writing to a power_supply class property sysfs attribute. There is at least one driver that has a

Re: [PATCH] power: supply: sysfs: parse string as enum when writing property

2017-04-11 Thread David Lechner
On 04/11/2017 11:12 AM, Sebastian Reichel wrote: Hi, On Mon, Apr 03, 2017 at 02:52:57PM -0500, David Lechner wrote: This fixes the TODO to parse strings and convert them to enum values when writing to a power_supply class property sysfs attribute. There is at least one driver that has a

Re: [PATCH] power: supply: sysfs: parse string as enum when writing property

2017-04-11 Thread Sebastian Reichel
Hi, On Mon, Apr 03, 2017 at 02:52:57PM -0500, David Lechner wrote: > This fixes the TODO to parse strings and convert them to enum values > when writing to a power_supply class property sysfs attribute. > > There is at least one driver that has a writable enum property that > previously could

Re: [PATCH] power: supply: sysfs: parse string as enum when writing property

2017-04-11 Thread Sebastian Reichel
Hi, On Mon, Apr 03, 2017 at 02:52:57PM -0500, David Lechner wrote: > This fixes the TODO to parse strings and convert them to enum values > when writing to a power_supply class property sysfs attribute. > > There is at least one driver that has a writable enum property that > previously could

[PATCH] power: supply: sysfs: parse string as enum when writing property

2017-04-03 Thread David Lechner
This fixes the TODO to parse strings and convert them to enum values when writing to a power_supply class property sysfs attribute. There is at least one driver that has a writable enum property that previously could only be written as an integer, so a fallback to writing enums as integers

[PATCH] power: supply: sysfs: parse string as enum when writing property

2017-04-03 Thread David Lechner
This fixes the TODO to parse strings and convert them to enum values when writing to a power_supply class property sysfs attribute. There is at least one driver that has a writable enum property that previously could only be written as an integer, so a fallback to writing enums as integers