Stephen Warren e3a46e3ee2 serial: bcm283x_mu: make pending values more explicit
dm_serial_ops.pending should return the number of characters, not just a
valid C Boolean integer value. The existing code does already does this,
but only as an accident since BCM283X_MU_LSR_RX_READY happens to be
BIT(0). Enhance the code to be more explicit about the values it returns.

Suggested-by: Simon Glass <sjg@chromium.org>
Signed-off-by: Stephen Warren <swarren@wwwdotorg.org>
2016-04-18 17:11:47 -04:00
..
2016-02-25 19:06:37 -05:00
2016-02-06 12:00:59 +01:00
2016-04-11 10:20:30 -07:00
2016-02-06 12:00:59 +01:00
2015-12-05 18:22:23 -05:00
2014-08-09 11:17:04 -04:00