Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 81580
b: refs/heads/master
c: 93521d2
h: refs/heads/master
v: v3
  • Loading branch information
Andrew Morton authored and Jaroslav Kysela committed Jan 31, 2008
1 parent 620357b commit ad47920
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: 7db756f2b1aab15b2d4834ebb373bb5dc07d95dc
refs/heads/master: 93521d274b7fb4e6da5772768683e4984783d9e7
8 changes: 8 additions & 0 deletions trunk/sound/usb/usbaudio.c
Original file line number Diff line number Diff line change
Expand Up @@ -2077,8 +2077,14 @@ int snd_usb_ctl_msg(struct usb_device *dev, unsigned int pipe, __u8 request,
static int usb_audio_probe(struct usb_interface *intf,
const struct usb_device_id *id);
static void usb_audio_disconnect(struct usb_interface *intf);

#ifdef CONFIG_PM
static int usb_audio_suspend(struct usb_interface *intf, pm_message_t message);
static int usb_audio_resume(struct usb_interface *intf);
#else
#define usb_audio_suspend NULL
#define usb_audio_resume NULL
#endif

static struct usb_device_id usb_audio_ids [] = {
#include "usbquirks.h"
Expand Down Expand Up @@ -3658,6 +3664,7 @@ static void usb_audio_disconnect(struct usb_interface *intf)
dev_get_drvdata(&intf->dev));
}

#ifdef CONFIG_PM
static int usb_audio_suspend(struct usb_interface *intf, pm_message_t message)
{
struct snd_usb_audio *chip = dev_get_drvdata(&intf->dev);
Expand Down Expand Up @@ -3695,6 +3702,7 @@ static int usb_audio_resume(struct usb_interface *intf)

return 0;
}
#endif /* CONFIG_PM */

static int __init snd_usb_audio_init(void)
{
Expand Down

0 comments on commit ad47920

Please sign in to comment.