diff options
author | Yi Pei <neopimail@gmail.com> | 2025-07-20 20:37:18 +0530 |
---|---|---|
committer | Anup Patel <anup@brainfault.org> | 2025-07-20 20:37:18 +0530 |
commit | b8f370aa3714ef37023e523c37c1981b0a5d1e12 (patch) | |
tree | 4433d40b5f5c7e24c9a7c97f4472a83641a33c78 /lib/utils/cppc/fdt_cppc_rpmi.c | |
parent | a32a91069119e7a5aa31e6bc51d5e00860be3d80 (diff) | |
download | opensbi-b8f370aa3714ef37023e523c37c1981b0a5d1e12.zip opensbi-b8f370aa3714ef37023e523c37c1981b0a5d1e12.tar.gz opensbi-b8f370aa3714ef37023e523c37c1981b0a5d1e12.tar.bz2 |
lib: utils/serial: Clear LSR status and check RBR status
On some platforms, read RBR when it is empty may result in an error.
Signed-off-by: Yi Pei <neopimail@gmail.com>
Reviewed-by: Anup Patel <anup@brainfault.org>
Link: https://lore.kernel.org/r/CAFPVDjQZ1gpf8-u--RBbAL1Y0FfDN2vZ3g=wBw+Bp-8ppuz3HA@mail.gmail.com
Signed-off-by: Anup Patel <anup@brainfault.org>
Diffstat (limited to 'lib/utils/cppc/fdt_cppc_rpmi.c')
0 files changed, 0 insertions, 0 deletions