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.smir...@gmail.com> > Cc: Chris Healy <cphe...@gmail.com> > Cc: Guenter Roeck <li...@roeck-us.net> > Cc: Rick Ramstetter <r...@anteaterllc.com> > Cc: linux-watch...@vger.kernel.org > Cc: linux-kernel@vger.kernel.org
Reviewed-by: Guenter Roeck <li...@roeck-us.net>