summaryrefslogtreecommitdiff
path: root/sound/core/timer.c
diff options
context:
space:
mode:
authorAdrian Knoth <adi@drcomp.erfurt.thur.de>2013-07-05 09:28:00 (GMT)
committerTakashi Iwai <tiwai@suse.de>2013-07-05 12:50:49 (GMT)
commitacf14767e17ab7ee8b6213f9e56d07d9ffa033da (patch)
treef8978c3ff47d2522cf04d381059b504ad058cf9c /sound/core/timer.c
parent8cea57104273909ab0825df48149840aad9d2b14 (diff)
downloadlinux-acf14767e17ab7ee8b6213f9e56d07d9ffa033da.tar.xz
ALSA: hdspm - Introduce generic AIO tristate control
AIO cards offer at least four individual settings options with three states each. Those settings are represented as two bits in the settings register with the following meaning: 0*some_base_bit --> Option value 0 1*some_base_bit --> Option value 1 2*some_base_bit --> Option value 2 3*some_base_bit --> mask to select the two involved bits This patch adds a generic ALSA control macro for such a value-to-bit pattern mapping. It will be used in a later commit to expose four new controls. Signed-off-by: Adrian Knoth <adi@drcomp.erfurt.thur.de> Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'sound/core/timer.c')
0 files changed, 0 insertions, 0 deletions