Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 259257
b: refs/heads/master
c: 8220796
h: refs/heads/master
i:
  259255: fb939c0
v: v3
  • Loading branch information
Felipe Balbi authored and Greg Kroah-Hartman committed Jul 1, 2011
1 parent 881e0f8 commit f18b8ab
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 5 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: ded1ddbf92ee2c8f04af7fe805e1074be5d41f7f
refs/heads/master: 8220796df85d58a445863424b7b2053d4741e931
6 changes: 2 additions & 4 deletions trunk/drivers/usb/musb/musb_core.c
Original file line number Diff line number Diff line change
Expand Up @@ -2286,9 +2286,8 @@ static void musb_restore_context(struct musb *musb)

static int musb_suspend(struct device *dev)
{
struct platform_device *pdev = to_platform_device(dev);
struct musb *musb = dev_to_musb(dev);
unsigned long flags;
struct musb *musb = dev_to_musb(&pdev->dev);

spin_lock_irqsave(&musb->lock, flags);

Expand All @@ -2310,8 +2309,7 @@ static int musb_suspend(struct device *dev)

static int musb_resume_noirq(struct device *dev)
{
struct platform_device *pdev = to_platform_device(dev);
struct musb *musb = dev_to_musb(&pdev->dev);
struct musb *musb = dev_to_musb(dev);

musb_restore_context(musb);

Expand Down

0 comments on commit f18b8ab

Please sign in to comment.