linux_dsm_epyc7002/sound/core
Viral Mehta 36c7b833e5 ALSA: oss-mixer - Fixes recording gain control
At the time of initialization, SNDRV_MIXER_OSS_PRESENT_PVOLUME bit is not
set for MIC (slot 7).
So, the same should not be checked when an application tries to do gain
control for audio recording devices.

Just check slot->present for SNDRV_MIXER_OSS_PRESENT_CVOLUME independently.
Verified with a simple application which opens /dev/dsp for recording and
/dev/mixer for volume control.

Have tested two usb audio mic devices.

Signed-off-by: Viral Mehta <viral.mehta@einfochips.com>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
2009-03-18 07:52:28 +01:00
..
oss ALSA: oss-mixer - Fixes recording gain control 2009-03-18 07:52:28 +01:00
seq
control_compat.c
control.c saner FASYNC handling on file close 2008-11-01 09:49:46 -07:00
device.c
hrtimer.c Merge branch 'timers-core-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/linux-2.6-tip 2008-12-30 16:16:21 -08:00
hwdep_compat.c
hwdep.c
info_oss.c
info.c ALSA: when card identification is changed, change also /proc/asound symlink 2008-11-12 17:07:37 +01:00
init.c sound: Fix warnings relating to ignored return value in snd_card_register 2008-11-18 18:27:58 +01:00
isadma.c
jack.c ALSA: jack - Use card->shortname for input name 2009-02-18 16:46:27 +01:00
Kconfig
Makefile
memalloc.c
memory.c
misc.c
pcm_compat.c
pcm_lib.c
pcm_memory.c
pcm_misc.c
pcm_native.c saner FASYNC handling on file close 2008-11-01 09:49:46 -07:00
pcm_timer.c
pcm.c
rawmidi_compat.c
rawmidi.c ALSA: hda - Convert from takslet_hi_schedule() to tasklet_schedule() 2008-12-18 12:17:55 +01:00
rtctimer.c ALSA: hda - Convert from takslet_hi_schedule() to tasklet_schedule() 2008-12-18 12:17:55 +01:00
sgbuf.c
sound_oss.c
sound.c Check fops_get() return value 2009-01-06 15:59:11 -08:00
timer_compat.c
timer.c ALSA: hda - Convert from takslet_hi_schedule() to tasklet_schedule() 2008-12-18 12:17:55 +01:00
vmaster.c