Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 213522
b: refs/heads/master
c: abf4f6a
h: refs/heads/master
v: v3
  • Loading branch information
Breno Leitao authored and Greg Kroah-Hartman committed Oct 22, 2010
1 parent 56ff851 commit f12e680
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 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: 7d172bfefb72a8dae56beff326299c5e21f6f6db
refs/heads/master: abf4f6a51477a68fe144b0c62f10c410b0c41378
4 changes: 3 additions & 1 deletion trunk/drivers/serial/jsm/jsm_driver.c
Original file line number Diff line number Diff line change
Expand Up @@ -172,13 +172,15 @@ static int __devinit jsm_probe_one(struct pci_dev *pdev, const struct pci_device
jsm_uart_port_init here! */
dev_err(&pdev->dev, "memory allocation for flipbuf failed\n");
rc = -ENOMEM;
goto out_free_irq;
goto out_free_uart;
}

pci_set_drvdata(pdev, brd);
pci_save_state(pdev);

return 0;
out_free_uart:
jsm_remove_uart_port(brd);
out_free_irq:
jsm_remove_uart_port(brd);
free_irq(brd->irq, brd);
Expand Down

0 comments on commit f12e680

Please sign in to comment.