]> git.kernelconcepts.de Git - karo-tx-uboot.git/commit
dm: serial: Reset the watchdog while waiting in getc()
authorSimon Glass <sjg@chromium.org>
Thu, 23 Oct 2014 03:37:02 +0000 (21:37 -0600)
committerSimon Glass <sjg@chromium.org>
Fri, 24 Oct 2014 01:29:07 +0000 (19:29 -0600)
commitc487fd476c8779dbd6ee1427489f1312b34bfc5e
tree49211e4c6df93f064408ef73a4978bd780d70fe6
parentfe1ef503381c4c03c059de3324271ce21cae3078
dm: serial: Reset the watchdog while waiting in getc()

We have moved the busy-wait loop out of drivers and into the uclass. This
means that we must reset the watchdog when busy-waiting.

Note: some drivers may still have a busy-wait even with driver model, as
a transition mechanism. Driver model will tolerate this, and is can be
cleaned up when all users of the driver use driver model. An example is
ns16550.

Signed-off-by: Simon Glass <sjg@chromium.org>
Reviewed-by: Tom Rini <trini@ti.com>
drivers/serial/serial-uclass.c