android_kernel_samsung_sm8650/include/sound
Peter Ujfalusi d11bb4a925 ASoC: core: Fix for the volume limiting when invert is in use
If the register for the volume needs invert, than the inversion
need to be done from the chip maximum, and not from the platform
dependent limit.
Introduce soc_mixer_control.platform_max value, which initially
equals to chip maximum.
The snd_soc_limit_volume function only modify the platform_max,
all volsw_info call returns this as well.
The .max value holds the chip default (maximum), and it is used
for the inversion, if it is needed.

Additional check in the volsw_info call has been added to check
the validity of the platform_max in case, when custom macros
used by codec drivers are not initializing it correctly.

Signed-off-by: Peter Ujfalusi <peter.ujfalusi@nokia.com>
Acked-by: Liam Girdwood <lrg@slimlogic.co.uk>
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
2010-05-11 09:34:11 +01:00
..
ac97_codec.h comment typo fix: sybsystem -> subsystem 2009-12-04 15:39:49 +01:00
aci.h ALSA: opti-miro: expose ACI mixer to outside drivers 2009-11-23 09:41:55 +01:00
ad1816a.h
ad1843.h
ak4xxx-adda.h ALSA: ak4620 support, codec regs listed in proc 2009-09-21 15:44:51 +02:00
ak4113.h ALSA: ak4113 support 2009-09-21 15:45:07 +02:00
ak4114.h ALSA: ak4114 - fix errors in output selector bits 2009-09-21 15:44:39 +02:00
ak4117.h
ak4531_codec.h
asequencer.h
asound_fm.h
asound.h ALSA: timer - pass real event in snd_timer_notify1() to instance callback 2010-03-03 22:39:45 +01:00
asoundef.h
atmel-abdac.h
atmel-ac97c.h
control.h control: use reference-counted pid 2009-11-06 14:32:06 +01:00
core.h ALSA: Add snd_pci_quirk_lookup_id() 2010-01-14 09:18:48 +01:00
cs46xx_dsp_scb_types.h
cs46xx_dsp_spos.h ALSA: cs46xx - Fix suspend/resume with new DSP 2009-12-22 09:00:14 +01:00
cs46xx_dsp_task_types.h
cs46xx.h
cs4231-regs.h ALSA: cs4236: update control names 2009-11-18 07:23:16 +01:00
cs8403.h
cs8427.h
emu10k1_synth.h
emu10k1.h
emu8000_reg.h
emu8000.h
emux_legacy.h
emux_synth.h
es1688.h
gus.h
hda_hwdep.h
hdsp.h
hdspm.h
hwdep.h
i2c.h
info.h ALSA: Add const prefix to proc helper functions 2009-09-08 14:45:06 +02:00
initval.h
jack.h ALSA: Add support for key reporting via the jack interface 2010-03-17 18:10:46 +00:00
Kbuild ALSA: sscape - Remove sscap_ioctl.h from include/sound/Kbuild 2009-10-02 07:22:58 +02:00
l3.h
memalloc.h ALSA: Fix SG-buffer DMA with non-coherent architectures 2009-07-08 14:20:20 +02:00
minors.h
mixer_oss.h
mpu401.h
opl3.h
opl4.h
pcm_oss.h ALSA: pcm_lib - cleanup & merge hw_ptr update functions 2010-01-07 15:47:38 +01:00
pcm_params.h
pcm-indirect.h
pcm.h Merge remote branch 'alsa/devel' into topic/misc 2010-01-26 18:13:04 +01:00
pt2258.h
pxa2xx-lib.h [ARM] pxa: merge AC97 platform data structures 2009-04-15 10:54:06 +08:00
rawmidi.h sound: rawmidi: record a substream's owner process 2009-11-10 16:32:38 +01:00
s3c24xx_uda134x.h
sb16_csp.h
sb.h ALSA: jazz16: Add support for Media Vision Jazz16 chipset 2009-12-21 12:09:22 +01:00
seq_device.h
seq_kernel.h
seq_midi_emul.h
seq_midi_event.h
seq_oss_legacy.h
seq_oss.h
seq_virmidi.h
sfnt_info.h
sh_dac_audio.h ALSA: sh: add SuperH DAC audio driver for ALSA V4 2009-11-04 09:17:40 +01:00
sh_fsi.h ASoC: Add SuperH FSI driver support for ALSA 2009-08-20 20:01:42 +01:00
snd_wavefront.h
soc-dai.h ALSA: ASoC: move dma_data from snd_soc_dai to snd_soc_pcm_stream 2010-04-05 19:14:11 +01:00
soc-dapm.h ASoC: Support leaving paths enabled over system suspend 2010-05-10 10:36:48 +01:00
soc-of-simple.h
soc.h ASoC: core: Fix for the volume limiting when invert is in use 2010-05-11 09:34:11 +01:00
soundfont.h
tea575x-tuner.h V4L/DVB (10771): tea575x-tuner: convert it to V4L2 API 2009-03-30 12:43:02 -03:00
tea6330t.h
timer.h
tlv320aic3x.h ASoC: tlv320aic3x: Add platform data and reset gpio handling 2010-05-06 14:58:02 +01:00
tlv320dac33-plat.h ASoC: tlv320dac33: Add option for keeping the BCLK running 2010-03-12 11:12:25 +00:00
tlv.h ALSA: Add new TLV types for dBwith min/max 2009-06-17 10:56:53 +02:00
tpa6130a2-plat.h Revert "ASoC: tpa6130a2: Support for limiting gain" 2010-05-07 16:42:23 +01:00
trident.h
uda134x.h ASoC: UDA134X: Add UDA1345 CODEC support 2010-04-26 15:28:18 +01:00
uda1380.h ASoC: UDA1380: refactor device registration 2009-06-15 21:54:48 +01:00
util_mem.h
version.h ALSA: Release v1.0.22.1 2009-12-28 16:17:57 +01:00
vx_core.h
wavefront.h
wm2000.h ASoC: Add WM2000 driver 2010-02-12 10:31:06 +00:00
wm8903.h ASoC: Implement interrupt driven microphone detection for WM8903 2010-03-16 15:57:43 +00:00
wm8904.h ASoC: Support GPIO based microphone detection for WM8904 2010-03-16 16:03:30 +00:00
wm8955.h ASoC: Add initial WM8955 CODEC driver 2009-12-18 13:06:47 +00:00
wm8960.h ASoC: Add support for WM8960 capless mode 2010-03-03 17:08:43 +00:00
wm8993.h tree-wide: fix assorted typos all over the place 2009-12-04 15:39:55 +01:00
wm9081.h ASoC: WM9081 mono DAC with integrated 2.6W class AB/D amplifier driver 2009-05-22 15:11:22 +01:00
wm9090.h ASoC: Add WM9090 amplifier driver 2010-04-30 16:12:44 +01:00
wss.h ALSA: cs4236: detect chip in one pass 2009-11-05 18:10:25 +01:00
ymfpci.h sound: ymfpci: increase timer resolution to 96 kHz 2009-08-10 13:14:46 +02:00