diff options
Diffstat (limited to 'drivers/tty/serial')
| -rw-r--r-- | drivers/tty/serial/8250/Kconfig | 2 | ||||
| -rw-r--r-- | drivers/tty/serial/pmac_zilog.c | 3 | ||||
| -rw-r--r-- | drivers/tty/serial/sh-sci.c | 2 |
3 files changed, 5 insertions, 2 deletions
diff --git a/drivers/tty/serial/8250/Kconfig b/drivers/tty/serial/8250/Kconfig index f3b306efaa59..23329918f229 100644 --- a/drivers/tty/serial/8250/Kconfig +++ b/drivers/tty/serial/8250/Kconfig | |||
| @@ -41,7 +41,7 @@ config SERIAL_8250_DEPRECATED_OPTIONS | |||
| 41 | accept kernel parameters in both forms like 8250_core.nr_uarts=4 and | 41 | accept kernel parameters in both forms like 8250_core.nr_uarts=4 and |
| 42 | 8250.nr_uarts=4. We now renamed the module back to 8250, but if | 42 | 8250.nr_uarts=4. We now renamed the module back to 8250, but if |
| 43 | anybody noticed in 3.7 and changed their userspace we still have to | 43 | anybody noticed in 3.7 and changed their userspace we still have to |
| 44 | keep the 8350_core.* options around until they revert the changes | 44 | keep the 8250_core.* options around until they revert the changes |
| 45 | they already did. | 45 | they already did. |
| 46 | 46 | ||
| 47 | If 8250 is built as a module, this adds 8250_core alias instead. | 47 | If 8250 is built as a module, this adds 8250_core alias instead. |
diff --git a/drivers/tty/serial/pmac_zilog.c b/drivers/tty/serial/pmac_zilog.c index 481b781b26e3..e9d420ff3931 100644 --- a/drivers/tty/serial/pmac_zilog.c +++ b/drivers/tty/serial/pmac_zilog.c | |||
| @@ -2052,6 +2052,9 @@ static int __init pmz_console_init(void) | |||
| 2052 | /* Probe ports */ | 2052 | /* Probe ports */ |
| 2053 | pmz_probe(); | 2053 | pmz_probe(); |
| 2054 | 2054 | ||
| 2055 | if (pmz_ports_count == 0) | ||
| 2056 | return -ENODEV; | ||
| 2057 | |||
| 2055 | /* TODO: Autoprobe console based on OF */ | 2058 | /* TODO: Autoprobe console based on OF */ |
| 2056 | /* pmz_console.index = i; */ | 2059 | /* pmz_console.index = i; */ |
| 2057 | register_console(&pmz_console); | 2060 | register_console(&pmz_console); |
diff --git a/drivers/tty/serial/sh-sci.c b/drivers/tty/serial/sh-sci.c index 537750261aaa..7d8103cd3e2e 100644 --- a/drivers/tty/serial/sh-sci.c +++ b/drivers/tty/serial/sh-sci.c | |||
| @@ -1433,7 +1433,7 @@ static void work_fn_rx(struct work_struct *work) | |||
| 1433 | desc = s->desc_rx[new]; | 1433 | desc = s->desc_rx[new]; |
| 1434 | 1434 | ||
| 1435 | if (dma_async_is_tx_complete(s->chan_rx, s->active_rx, NULL, NULL) != | 1435 | if (dma_async_is_tx_complete(s->chan_rx, s->active_rx, NULL, NULL) != |
| 1436 | DMA_SUCCESS) { | 1436 | DMA_COMPLETE) { |
| 1437 | /* Handle incomplete DMA receive */ | 1437 | /* Handle incomplete DMA receive */ |
| 1438 | struct dma_chan *chan = s->chan_rx; | 1438 | struct dma_chan *chan = s->chan_rx; |
| 1439 | struct shdma_desc *sh_desc = container_of(desc, | 1439 | struct shdma_desc *sh_desc = container_of(desc, |
