Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 289277
b: refs/heads/master
c: 6f56d0f
h: refs/heads/master
i:
  289275: a384d87
v: v3
  • Loading branch information
Feng Tang authored and Greg Kroah-Hartman committed Feb 9, 2012
1 parent f1d492b commit be31b83
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 14 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 30c6c6b5bf82d4f4a23235a0aa0657681d1c21f2
refs/heads/master: 6f56d0f43656deb98c6366a133a75b5a7cf73a26
16 changes: 3 additions & 13 deletions trunk/drivers/tty/serial/pch_uart.c
Original file line number Diff line number Diff line change
Expand Up @@ -364,15 +364,6 @@ static const struct file_operations port_regs_ops = {
};
#endif /* CONFIG_DEBUG_FS */

static void pch_uart_hal_request(struct pci_dev *pdev, int fifosize,
int base_baud)
{
struct eg20t_port *priv = pci_get_drvdata(pdev);

priv->trigger_level = 1;
priv->fcr = 0;
}

static void pch_uart_hal_enable_interrupt(struct eg20t_port *priv,
unsigned int flag)
{
Expand Down Expand Up @@ -1674,7 +1665,8 @@ static struct eg20t_port *pch_uart_init_port(struct pci_dev *pdev,
spin_lock_init(&priv->port.lock);

pci_set_drvdata(pdev, priv);
pch_uart_hal_request(pdev, fifosize, base_baud);
priv->trigger_level = 1;
priv->fcr = 0;

#ifdef CONFIG_SERIAL_PCH_UART_CONSOLE
pch_uart_ports[board->line_no] = priv;
Expand Down Expand Up @@ -1717,9 +1709,7 @@ static void pch_uart_exit_port(struct eg20t_port *priv)

static void pch_uart_pci_remove(struct pci_dev *pdev)
{
struct eg20t_port *priv;

priv = (struct eg20t_port *)pci_get_drvdata(pdev);
struct eg20t_port *priv = pci_get_drvdata(pdev);

pci_disable_msi(pdev);

Expand Down

0 comments on commit be31b83

Please sign in to comment.