aboutsummaryrefslogtreecommitdiffstats
path: root/sound
diff options
context:
space:
mode:
Diffstat (limited to 'sound')
-rw-r--r--sound/usb/card.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sound/usb/card.c b/sound/usb/card.c
index d8f2bf401458..3068f043099a 100644
--- a/sound/usb/card.c
+++ b/sound/usb/card.c
@@ -631,7 +631,7 @@ static int usb_audio_suspend(struct usb_interface *intf, pm_message_t message)
631 if (chip == (void *)-1L) 631 if (chip == (void *)-1L)
632 return 0; 632 return 0;
633 633
634 if (!(message.event & PM_EVENT_AUTO)) { 634 if (!PMSG_IS_AUTO(message)) {
635 snd_power_change_state(chip->card, SNDRV_CTL_POWER_D3hot); 635 snd_power_change_state(chip->card, SNDRV_CTL_POWER_D3hot);
636 if (!chip->num_suspended_intf++) { 636 if (!chip->num_suspended_intf++) {
637 list_for_each(p, &chip->pcm_list) { 637 list_for_each(p, &chip->pcm_list) {