diff options
| author | Claudiu Beznea <[email protected]> | 2025-01-16 18:22:47 +0000 |
|---|---|---|
| committer | Greg Kroah-Hartman <[email protected]> | 2025-01-17 11:54:37 +0000 |
| commit | 9f7dea875cc7f9c1a56a5c688290634a59cd1420 (patch) | |
| tree | 89d99e0ea6b692dc83b68dfae939e5b041b3e405 /drivers/gpu/drm/amd/amdgpu/amdgpu_object.c | |
| parent | serial: sh-sci: Move runtime PM enable to sci_probe_single() (diff) | |
| download | kernel-9f7dea875cc7f9c1a56a5c688290634a59cd1420.tar.gz kernel-9f7dea875cc7f9c1a56a5c688290634a59cd1420.zip | |
serial: sh-sci: Do not probe the serial port if its slot in sci_ports[] is in use
In the sh-sci driver, sci_ports[0] is used by earlycon. If the earlycon is
still active when sci_probe() is called and the new serial port is supposed
to map to sci_ports[0], return -EBUSY to prevent breaking the earlycon.
This situation should occurs in debug scenarios, and users should be
aware of the potential conflict.
Fixes: 0b0cced19ab1 ("serial: sh-sci: Add CONFIG_SERIAL_EARLYCON support")
Cc: [email protected]
Signed-off-by: Claudiu Beznea <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_object.c')
0 files changed, 0 insertions, 0 deletions
