diff options
Diffstat (limited to 'drivers/tty/serial/8250/8250_pci.c')
-rw-r--r-- | drivers/tty/serial/8250/8250_pci.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/drivers/tty/serial/8250/8250_pci.c b/drivers/tty/serial/8250/8250_pci.c index 024551acf874..24ea98c6e77a 100644 --- a/drivers/tty/serial/8250/8250_pci.c +++ b/drivers/tty/serial/8250/8250_pci.c | |||
@@ -2814,6 +2814,12 @@ void pciserial_suspend_ports(struct serial_private *priv) | |||
2814 | for (i = 0; i < priv->nr; i++) | 2814 | for (i = 0; i < priv->nr; i++) |
2815 | if (priv->line[i] >= 0) | 2815 | if (priv->line[i] >= 0) |
2816 | serial8250_suspend_port(priv->line[i]); | 2816 | serial8250_suspend_port(priv->line[i]); |
2817 | |||
2818 | /* | ||
2819 | * Ensure that every init quirk is properly torn down | ||
2820 | */ | ||
2821 | if (priv->quirk->exit) | ||
2822 | priv->quirk->exit(priv->dev); | ||
2817 | } | 2823 | } |
2818 | EXPORT_SYMBOL_GPL(pciserial_suspend_ports); | 2824 | EXPORT_SYMBOL_GPL(pciserial_suspend_ports); |
2819 | 2825 | ||