aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_object.c
diff options
context:
space:
mode:
authorDaniel Mack <[email protected]>2021-05-28 13:33:20 +0000
committerGreg Kroah-Hartman <[email protected]>2021-06-04 13:11:45 +0000
commitd157fca711ad42e75efef3444c83d2e1a17be27a (patch)
tree5d90a937555fff9aa928b116c74665d4304e406d /drivers/gpu/drm/amd/amdgpu/amdgpu_object.c
parentARM: dts: imx53-ppd: add dma-info nodes (diff)
downloadkernel-d157fca711ad42e75efef3444c83d2e1a17be27a.tar.gz
kernel-d157fca711ad42e75efef3444c83d2e1a17be27a.zip
serial: tty: uartlite: fix console setup
Remove the hack to assign the global console_port variable at probe time. This assumption that cons->index is -1 is wrong for systems that specify 'console=' in the cmdline (or 'stdout-path' in dts). Hence, on such system the actual console assignment is ignored, and the first UART that happens to be probed is used as console instead. Move the logic to console_setup() and map the console to the correct port through the array of available ports instead. Signed-off-by: Daniel Mack <[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