Re: [PATCH v3 2/2] power: reset: gpio-poweroff: Support for timeout from device property

2018-03-09 Thread Sebastian Reichel
Hi, On Thu, Feb 22, 2018 at 03:17:14PM -0800, Moritz Fischer wrote: > Add support for reading a timeout value from device property. > Fall back to previous default of 3s if nothing is specified. > > Signed-off-by: Moritz Fischer > --- Thanks, both queued. -- Sebastian > Changes from v2: > - u

[PATCH v3 2/2] power: reset: gpio-poweroff: Support for timeout from device property

2018-02-22 Thread Moritz Fischer
Add support for reading a timeout value from device property. Fall back to previous default of 3s if nothing is specified. Signed-off-by: Moritz Fischer --- Changes from v2: - use device_property_read_{bool,u32} instead of of equivalent Changes from v1: - of_property_read_u32() overwrites the ou