summaryrefslogtreecommitdiff
path: root/include/linux
diff options
context:
space:
mode:
authorPatrick Delaunay <[email protected]>2018-08-03 13:38:44 +0200
committerTom Rini <[email protected]>2018-09-10 20:20:34 -0400
commit273a12526c6b6278a79f1bdf7f6cc50a32938b28 (patch)
tree7022cfe0891775052cb8261a832ab5baf688418b /include/linux
parentd3bb7858545fa54ff3c591570f1d36234ecde2bf (diff)
console: unify fgetc function when console MUX is deactivated
Unify the fgetc function when MUX is activated or not: - always call tstc() : it is the normal behavior expected by serial uclass (call tstc then getc) and that avoids issue when SERIAL_RX_BUFFER is activated - reload WATCHDOG in the char waiting loop This patch allow to have the same behavior when CONSOLE_MUX is activated or not and avoid regression when this feature is deactivated. Signed-off-by: Patrick Delaunay <[email protected]> Reviewed-by: Simon Glass <[email protected]>
Diffstat (limited to 'include/linux')
0 files changed, 0 insertions, 0 deletions