Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 303950
b: refs/heads/master
c: 6971113
h: refs/heads/master
v: v3
  • Loading branch information
Greg Kroah-Hartman committed May 15, 2012
1 parent 26f116e commit 54dac83
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 622b80cf6a6148bedbd8fec3945327cbf9f2caf4
refs/heads/master: 6971113e1000d24f7d4975eaa6f8cf2739a4565b
8 changes: 8 additions & 0 deletions trunk/drivers/usb/serial/sierra.c
Original file line number Diff line number Diff line change
Expand Up @@ -1039,9 +1039,16 @@ static int sierra_resume(struct usb_serial *serial)
return ec ? -EIO : 0;
}

static int sierra_reset_resume(struct usb_serial *serial)
{
dev_err(&serial->dev->dev, "%s\n", __func__);
return usb_serial_resume(serial->interface);
}

#else
#define sierra_suspend NULL
#define sierra_resume NULL
#define sierra_reset_resume NULL
#endif

static struct usb_serial_driver sierra_device = {
Expand All @@ -1065,6 +1072,7 @@ static struct usb_serial_driver sierra_device = {
.release = sierra_release,
.suspend = sierra_suspend,
.resume = sierra_resume,
.reset_resume = sierra_reset_resume,
.read_int_callback = sierra_instat_callback,
};

Expand Down

0 comments on commit 54dac83

Please sign in to comment.