]> git.dujemihanovic.xyz Git - u-boot.git/commit
serial: pl01x: Add error value checking
authorMichal Simek <michal.simek@xilinx.com>
Tue, 13 Oct 2020 13:00:24 +0000 (15:00 +0200)
committerMichal Simek <michal.simek@xilinx.com>
Tue, 27 Oct 2020 07:13:32 +0000 (08:13 +0100)
commit6c9662df49abeefffe9987cb51f47c41b8457d10
treee61053378fd9694bd58a12d021f870957831e268
parenta03b594738f8b5980fecda9946b1be31cc087e56
serial: pl01x: Add error value checking

There also a need to check return values to make sure that clocks were
enabled and setup properly.

Signed-off-by: Michal Simek <michal.simek@xilinx.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
drivers/serial/serial_pl01x.c