commit | 9f814105926cbeb003b1684cd5564612bccfe45c | [log] [tgz] |
---|---|---|
author | Eldad Zack <eldad@fogrefinery.com> | Wed Nov 28 23:55:35 2012 +0100 |
committer | Takashi Iwai <tiwai@suse.de> | Thu Nov 29 08:43:12 2012 +0100 |
tree | 3a80076a31997d21dcfa20a21a58747bf6675173 | |
parent | 28acb12014fb0c3e1edfdab1b1e3e266cf651550 [diff] |
ALSA: usb-audio: add control index offset Currently, channel IDs exceeding 31 (0x1f) cannot be used. The channel ID is derived from the cmask. Extending cmask to a 64-bit type would only allow it to go up to 63 (0x3f). Some devices have channel IDs exceeding that as well. To address that, add an offset to the mixer element which is then accounted for in the UAC set/get functions. Signed-off-by: Eldad Zack <eldad@fogrefinery.com> Signed-off-by: Takashi Iwai <tiwai@suse.de>