mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-25 14:13:01 -04:00
ALSA: pcm: add macro SND_PCM_ADD_VOLUME_CTL and SND_PCM_ADD_USR_CTL
Add macro SND_PCM_ADD_CTL to identify if snd_pcm_add_usr_ctls and snd_pcm_add_volume_ctls are called from ASoC. Change-Id: I7542b180fcf3861b9adbf1d36780613703fcdcad Signed-off-by: Meng Wang <mengw@codeaurora.org>
This commit is contained in:
parent
4fbfcf8302
commit
49a132aa9c
1 changed files with 2 additions and 0 deletions
|
|
@ -1432,6 +1432,8 @@ static inline u64 pcm_format_to_bits(snd_pcm_format_t pcm_format)
|
|||
}
|
||||
|
||||
#ifdef CONFIG_AUDIO_QGKI
|
||||
#define SND_PCM_ADD_VOLUME_CTL 1
|
||||
#define SND_PCM_ADD_USR_CTL 1
|
||||
/*
|
||||
* PCM Volume control API
|
||||
*/
|
||||
|
|
|
|||
Loading…
Reference in a new issue