]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/commit
ACPI: SPCR: Consider baud rate 0 as preconfigured state
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Wed, 21 Nov 2018 13:43:37 +0000 (15:43 +0200)
committerKleber Sacilotto de Souza <kleber.souza@canonical.com>
Wed, 14 Aug 2019 09:18:49 +0000 (11:18 +0200)
commitd4a3bad353806bc1c731ad5fbb5d957f19069571
treee8f8e48151055025698ce352b2217bd12af60be7
parent9fb99005dc48a28319b98432523f7523e7756738
ACPI: SPCR: Consider baud rate 0 as preconfigured state

BugLink: https://bugs.launchpad.net/bugs/1837664
[ Upstream commit b413b1abeb21b4a152c0bf8d1379efa30759b6e3 ]

Since SPCR 1.04 [1] the baud rate of 0 means a preconfigured state of UART.
Assume firmware or bootloader configures console correctly.

[1]: https://docs.microsoft.com/en-us/windows-hardware/drivers/serports/serial-port-console-redirection-table

Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Reviewed-by: Prarit Bhargava <prarit@redhat.com>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
Signed-off-by: Kamal Mostafa <kamal@canonical.com>
Signed-off-by: Khalid Elmously <khalid.elmously@canonical.com>
drivers/acpi/spcr.c