diff options
Diffstat (limited to 'sound')
-rw-r--r-- | sound/usb/card.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sound/usb/card.c b/sound/usb/card.c index 781d9e61adfb..d5754fa5e551 100644 --- a/sound/usb/card.c +++ b/sound/usb/card.c | |||
@@ -628,7 +628,7 @@ static int usb_audio_suspend(struct usb_interface *intf, pm_message_t message) | |||
628 | if (chip == (void *)-1L) | 628 | if (chip == (void *)-1L) |
629 | return 0; | 629 | return 0; |
630 | 630 | ||
631 | if (!(message.event & PM_EVENT_AUTO)) { | 631 | if (!PMSG_IS_AUTO(message)) { |
632 | snd_power_change_state(chip->card, SNDRV_CTL_POWER_D3hot); | 632 | snd_power_change_state(chip->card, SNDRV_CTL_POWER_D3hot); |
633 | if (!chip->num_suspended_intf++) { | 633 | if (!chip->num_suspended_intf++) { |
634 | list_for_each(p, &chip->pcm_list) { | 634 | list_for_each(p, &chip->pcm_list) { |