]> git.proxmox.com Git - mirror_ubuntu-disco-kernel.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)
committerStefan Bader <stefan.bader@canonical.com>
Tue, 2 Jul 2019 10:07:53 +0000 (12:07 +0200)
commitc5d52340d80118d3a5a7529aa0fe4aa4a96f77e6
tree4cd5f1cc69d8ed8e80431cb6b7e36ad5c04786ae
parentb117aacb928ccec33de0f8b086ce4a9d19d1fda5
ALSA: opl3: fix mismatch between snd_opl3_drum_switch definition and declaration

BugLink: https://bugs.launchpad.net/bugs/1830906
[ 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>
Signed-off-by: Stefan Bader <stefan.bader@canonical.com>
Signed-off-by: Kleber Sacilotto de Souza <kleber.souza@canonical.com>
sound/drivers/opl3/opl3_voice.h