diff options
| author | Naveen Kumar Chaudhary <[email protected]> | 2026-06-07 21:15:42 +0530 |
|---|---|---|
| committer | Tom Rini <[email protected]> | 2026-06-23 12:37:21 -0600 |
| commit | d73aed0b0571828c7ee308adcb1bb1145892dfd1 (patch) | |
| tree | 6ff13165777bb74f649d2e775e071d48141ed20d /scripts | |
| parent | 0bef438428ca0118da2ebb44493d5d2090cb05a2 (diff) | |
serial: goldfish: return error when device address is invalid
goldfish_serial_of_to_plat() returns success even when dev_read_addr()
fails to find a valid address. This leaves plat->reg unset and defers
the failure to probe().
Return -EINVAL immediately when the address is FDT_ADDR_T_NONE so the
failure is reported at the of_to_plat stage where it belongs.
Signed-off-by: Naveen Kumar Chaudhary <[email protected]>
Acked-by: Kuan-Wei Chiu <[email protected]>
Diffstat (limited to 'scripts')
0 files changed, 0 insertions, 0 deletions
