-
Kai-Heng Feng authored
Hardwares without SNDRV_PCM_INFO_RESUME capability, like USB Audio, don't support snd_pcm_resume() when it's in suspended state. Let's use snd_pcm_hw_params_can_resume() to check hardware's capability before snd_pcm_resume() attempt. If it doesn't support resume, just go to snd_pcm_drop() to leave suspended state directly.
734a00c8