]> git.baikalelectronics.ru Git - kernel.git/commit
ALSA: echoaudio: Remove redundant check
authorMark Hills <mark@xwax.org>
Wed, 8 Jul 2020 10:18:44 +0000 (11:18 +0100)
committerTakashi Iwai <tiwai@suse.de>
Thu, 9 Jul 2020 10:57:59 +0000 (12:57 +0200)
commit679a79bebfb095c8df19c555af6fd4681600866d
tree052540d1e95ce6cc8f826ef1bda13a49ecb17625
parent50fb9caf7a3319d93acd36ccdd8f39049941802d
ALSA: echoaudio: Remove redundant check

This check is always false, as it's not the responsibilty of the
device-specific code to make this check. It is already checked
in snd_echo_digital_mode_put.

I do not have a Mona interface to test this change.

This patch is in preparation for follow-up patch to modify the
behavior of "opencount".

Signed-off-by: Mark Hills <mark@xwax.org>
Link: https://lore.kernel.org/r/20200708101848.3457-1-mark@xwax.org
Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/pci/echoaudio/mona_dsp.c