commit | caa2a61a702a2a391b2fb695fc245ca5b8a4ffd8 | [log] [tgz] |
---|---|---|
author | Takashi Iwai <tiwai@suse.de> | Tue Jan 31 16:38:22 2017 +0100 |
committer | Takashi Iwai <tiwai@suse.de> | Fri Feb 03 17:34:09 2017 +0100 |
tree | 075025a52f934e8d5fb98560d0d30b30f27dbfd4 | |
parent | 99b2ab9d3aa08824dfefd7d9ad9f2b4c19555d05 [diff] |
ALSA: x86: Remove superfluous check at resume The had_get_hwstate() is identical with drv_status==DISCONECTED, which was already checked before the call. And, returning an error at resume is simply bad. That is, we should just kill this check. Also, spewing an error at resume for drv_status!=SUSPENDED is also annoying, as this is the normal case when the suspend was called without the monitor connection. Make it debug, too. Signed-off-by: Takashi Iwai <tiwai@suse.de>