| Date | Thu, 15 Aug 2019 11:24:17 -0700 | From | Guenter Roeck <> | Subject | Re: [PATCH v2 19/22] watchdog: ziirave_wdt: Drop status polling code |
| |
On Mon, Aug 12, 2019 at 01:09:03PM -0700, Andrey Smirnov wrote: > Bootloader firmware doesn't implement DOWNLOAD_START or > DOWNLOAD_PACKET in a non-blocking way. It will stretch the clock of > the first status byte read until the operation is complete. Polling > for the status is not really necessary since it will always succed on > the first try. Replace polling code with a simple single byte read to > simplify things. > > Signed-off-by: Andrey Smirnov <andrew.smirnov@gmail.com> > Cc: Chris Healy <cphealy@gmail.com> > Cc: Guenter Roeck <linux@roeck-us.net> > Cc: Rick Ramstetter <rick@anteaterllc.com> > Cc: linux-watchdog@vger.kernel.org > Cc: linux-kernel@vger.kernel.org
Reviewed-by: Guenter Roeck <linux@roeck-us.net>
|