mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-08-27 19:29:37 +00:00
serial: 8250_pericom: Re-enable higher baud rates
Add UPF_MAGIC_MULTIPLIER to the port flags since there is now range checking in serial8250_get_baud_rate() in 8250_port.c. Signed-off-by: Jay Dolan <jay.dolan@accesio.com> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Link: https://lore.kernel.org/r/20211122133512.8947-3-andriy.shevchenko@linux.intel.com Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
fcfd3c09f4
commit
b4ccaf5aa2
1 changed files with 1 additions and 1 deletions
|
@ -117,7 +117,7 @@ static int pericom8250_probe(struct pci_dev *pdev, const struct pci_device_id *i
|
|||
uart.port.private_data = pericom;
|
||||
uart.port.iotype = UPIO_PORT;
|
||||
uart.port.uartclk = 921600 * 16;
|
||||
uart.port.flags = UPF_SKIP_TEST | UPF_BOOT_AUTOCONF | UPF_SHARE_IRQ;
|
||||
uart.port.flags = UPF_SKIP_TEST | UPF_BOOT_AUTOCONF | UPF_SHARE_IRQ | UPF_MAGIC_MULTIPLIER;
|
||||
uart.port.set_divisor = pericom_do_set_divisor;
|
||||
for (i = 0; i < nr && i < maxnr; i++) {
|
||||
unsigned int offset = (i == 3 && nr == 4) ? 0x38 : i * 0x8;
|
||||
|
|
Loading…
Reference in a new issue