diff options
author | Tomoya MORINAGA <tomoya-linux@dsn.lapis-semi.com> | 2011-10-07 13:39:49 +0900 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2012-04-22 16:21:44 -0700 |
commit | da980f0d81f788bb0c6ebad031f6eaabf93f47ab (patch) | |
tree | 950da4dffe357e27e9458e531006588420af5282 /drivers/dma | |
parent | 9e2c07dbbbc2d24dae3a33c75d1c8ac41c5a6bd2 (diff) | |
download | kernel_samsung_smdk4412-da980f0d81f788bb0c6ebad031f6eaabf93f47ab.zip kernel_samsung_smdk4412-da980f0d81f788bb0c6ebad031f6eaabf93f47ab.tar.gz kernel_samsung_smdk4412-da980f0d81f788bb0c6ebad031f6eaabf93f47ab.tar.bz2 |
8250_pci: Fix kernel panic when pch_uart is disabled
commit 64d91cfaade2155ad048fe3b65238a052e29dde4 upstream.
Currently, ".setup" function is not set.
As a result, when detecting our IOH's uart device without pch_uart, kernel panic
occurs at the following of pciserial_init_ports().
for (i = 0; i < nr_ports; i++) {
if (quirk->setup(priv, board, &serial_port, i))
break;
So, this patch adds the ".setup" function.
We can use pci_default_setup because our IOH's uart is compatible with 16550.
Signed-off-by: Tomoya MORINAGA <tomoya-linux@dsn.lapis-semi.com>
Acked-by: Alan Cox <alan@linux.intel.com>
Signed-off-by: Tomoya MORINAGA <tomoya.rohm@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/dma')
0 files changed, 0 insertions, 0 deletions