]> 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)
commit4189f7f27182af5179d11b809206dbc8a3c4d339
tree052540d1e95ce6cc8f826ef1bda13a49ecb17625
parentba4b2b440c538efc75952e4afa3d0a5f171dd6a9
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