mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-11-24 21:54:01 +00:00
board: freescale: p1_p2_rdb_pc: Do not hang in checkboard()
Like in all other checks in checkboard() function, do not hang on error. Signed-off-by: Pali Rohár <pali@kernel.org> Reviewed-by: Priyanka Jain <priyanka.jain@nxp.com>
This commit is contained in:
parent
1245c6e258
commit
ccad59dc5c
1 changed files with 1 additions and 1 deletions
|
@ -191,7 +191,7 @@ int checkboard(void)
|
|||
if (ret) {
|
||||
printf("%s: Cannot find udev for a bus %d\n", __func__,
|
||||
bus_num);
|
||||
return -ENXIO;
|
||||
return 0; /* Don't want to hang() on this error */
|
||||
}
|
||||
|
||||
if (dm_i2c_read(dev, 0, &in, 1) < 0 ||
|
||||
|
|
Loading…
Reference in a new issue