On Mon, Aug 12, 2019 at 01:08:48PM -0700, Andrey Smirnov wrote: > Reprogramming bootloader on watchdog MCU will result in reported > default timeout value of "0". That in turn will be unnecessarily > rejected by the driver as invalid device (-ENODEV). Simplify probe to > read stored timeout value, set it to a sane default if it is bogus, > and then program that value unconditionally. > > Signed-off-by: Andrey Smirnov <[email protected]> > Cc: Chris Healy <[email protected]> > Cc: Guenter Roeck <[email protected]> > Cc: Rick Ramstetter <[email protected]> > Cc: [email protected] > Cc: [email protected]
Reviewed-by: Guenter Roeck <[email protected]>

