alsa: Skip resume PCM if hardware doesn't support it
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.
Showing with 19 additions and 9 deletions