OSDN Git Service

ALSA: snd_ctl_activate_id(): Fix index look-up
authorLars-Peter Clausen <lars@metafoo.de>
Fri, 7 Nov 2014 13:12:34 +0000 (14:12 +0100)
committerTakashi Iwai <tiwai@suse.de>
Fri, 7 Nov 2014 13:25:07 +0000 (14:25 +0100)
commit31584ed18c073176a7ad96ddbfd09765e21e813d
tree2ca3aa3a7d7762be55a3139a5e79eefc33e68be3
parent67e225009bb15403341d313f51326113c61af7df
ALSA: snd_ctl_activate_id(): Fix index look-up

We want to know the offset for the id that was passed to the function, not
the offset of the first id of the control (which is always 0).

Signed-off-by: Lars-Peter Clausen <lars@metafoo.de>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/core/control.c