From: Takashi Iwai Date: Fri, 20 Feb 2015 16:05:27 +0000 (+0100) Subject: ALSA: pcm: Don't ignore internal PCMs in snd_pcm_dev_disconnect() X-Git-Tag: omap-for-v4.1/fixes-rc1~130^2~6^2~43^2~35^2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b20221385c40155f13068be75b865170a1ad5d1e;p=pandora-kernel.git ALSA: pcm: Don't ignore internal PCMs in snd_pcm_dev_disconnect() Some codes in snd_pcm_dev_disconnect() are still valid even for internal PCMs, but they are skipped because of the check of list_empty(&pcm->list) at the beginning. Remove this check and put pcm->internal checks appropriately for internal PCM object to process through this function. Acked-by: Liam Girdwood Signed-off-by: Takashi Iwai --- Reading git-diff-tree failed