summaryrefslogtreecommitdiffstats
path: root/lib/vsprintf.c
diff options
context:
space:
mode:
authorTakashi Iwai <tiwai@suse.de>2014-09-01 10:07:04 +0200
committerTakashi Iwai <tiwai@suse.de>2014-09-03 16:39:29 +0200
commitd89c6c0c91af0344b52dd21ca48dd29821fee677 (patch)
tree5d8a3b5c2e2c5aaf1c2c790386187b63c92c9825 /lib/vsprintf.c
parentaec856d0a8308cb34360c88a73b517c3a1fce170 (diff)
downloadop-kernel-dev-d89c6c0c91af0344b52dd21ca48dd29821fee677.zip
op-kernel-dev-d89c6c0c91af0344b52dd21ca48dd29821fee677.tar.gz
ALSA: hda - Add TLV_DB_SCALE_MUTE bit for relevant controls
The DACs on Sigmatel/IDT codecs do mute at the lowest volume level, and in the earlier drivers, we passed TLV_DB_SCALE_MUTE bit for each volume control element like Speaker and Headphone as well as Master. Along with the translation to the generic parser, however, the TLV bit was lost for the slave controls (e.g. Speaker) but set only to Master. In theory this should have sufficed, but apps, particularly PA, do care the slave volume bits, so we seem to see a regression in the volume controls. This patch adds a flag to hda_gen_spec to specify the DAC mute feature, and adds the TLV bit properly for all relevant volume controls. Also, the TLV bit for vmaster is set in hda_generic.c, so that we can get rid of all tricks from the codec driver side. As the similar hack is applied to Conexant 5051 stuff, we can get rid of it as well. BugLink: https://bugs.launchpad.net/bugs/1357928 Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'lib/vsprintf.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud