Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 213564
b: refs/heads/master
c: 637ed74
h: refs/heads/master
v: v3
  • Loading branch information
Dan Carpenter authored and Greg Kroah-Hartman committed Oct 22, 2010
1 parent 283b315 commit 2334562
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: 5c8db070b4480c43394680d9dfd2ddb06b97d2ae
refs/heads/master: 637ed74ff9e86d8c2979e430309a1fd28c921de9
4 changes: 3 additions & 1 deletion trunk/drivers/usb/host/ohci-sm501.c
Original file line number Diff line number Diff line change
Expand Up @@ -168,14 +168,16 @@ static int ohci_hcd_sm501_drv_probe(struct platform_device *pdev)

retval = usb_add_hcd(hcd, irq, IRQF_DISABLED | IRQF_SHARED);
if (retval)
goto err4;
goto err5;

/* enable power and unmask interrupts */

sm501_unit_power(dev->parent, SM501_GATE_USB_HOST, 1);
sm501_modify_reg(dev->parent, SM501_IRQ_MASK, 1 << 6, 0);

return 0;
err5:
iounmap(hcd->regs);
err4:
release_mem_region(hcd->rsrc_start, hcd->rsrc_len);
err3:
Expand Down

0 comments on commit 2334562

Please sign in to comment.