[U-Boot] serial: bcm283x_mu: make pending values more explicit
Tom Rini
trini at konsulko.com
Thu Apr 21 13:24:39 CEST 2016
On Wed, Apr 13, 2016 at 10:29:52PM -0600, Stephen Warren wrote:
> 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 at chromium.org>
> Signed-off-by: Stephen Warren <swarren at wwwdotorg.org>
Applied to u-boot/master, thanks!
--
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: Digital signature
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20160421/761f2412/attachment.sig>
More information about the U-Boot
mailing list