]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
ALSA: opl3: fix mismatch between snd_opl3_drum_switch definition and declaration
authorColin Ian King <colin.king@canonical.com>
Sun, 17 Mar 2019 23:21:24 +0000 (23:21 +0000)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sat, 20 Apr 2019 07:15:00 +0000 (09:15 +0200)
commit4467b4fdad62644814f13417b6fd54546db6a7ae
tree815a2365139ea24c63024ab172c8685fa510d0a2
parenteebec30d6b7ae4d60b1002e4dc31ffec38a0d4a5
ALSA: opl3: fix mismatch between snd_opl3_drum_switch definition and declaration

[ Upstream commit b4748e7ab731e436cf5db4786358ada5dd2db6dd ]

The function snd_opl3_drum_switch declaration in the header file
has the order of the two arguments on_off and vel swapped when
compared to the definition arguments of vel and on_off.  Fix this
by swapping them around to match the definition.

This error predates the git history, so no idea when this error
was introduced.

Signed-off-by: Colin Ian King <colin.king@canonical.com>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Signed-off-by: Sasha Levin <sashal@kernel.org>
sound/drivers/opl3/opl3_voice.h