]> git.baikalelectronics.ru Git - 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)
committerTakashi Iwai <tiwai@suse.de>
Mon, 18 Mar 2019 12:50:46 +0000 (13:50 +0100)
commit00aef2921adfa29626d2e709e72cb3b6064ad036
treebe84149db8ebd2d84fe475a8a29746f19117f4d1
parentc1cc6ebd0049d2f847f7e4e2a445d310763c8712
ALSA: opl3: fix mismatch between snd_opl3_drum_switch definition and declaration

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>
sound/drivers/opl3/opl3_voice.h