asoc: codec: wcd938x: Get swr device number
add wcd938x_codec_get_dev_num to return swr device number Change-Id: I45f4324645643b4edc6182cee508ce1e647c3612 signed-off-by: sarath varma ganapahiraju <ganavarm@codeaurora.org>
This commit is contained in:

committed by
Gerrit - the friendly Code Review server

parent
4a24723e3d
commit
2db2fd8857
@@ -71,6 +71,7 @@ int wcd938x_codec_force_enable_micbias_v2(struct snd_soc_component *wcd938x,
|
||||
int wcd938x_swr_dmic_register_notifier(struct snd_soc_component *wcd938x,
|
||||
struct notifier_block *nblock,
|
||||
bool enable);
|
||||
int wcd938x_codec_get_dev_num(struct snd_soc_component *component);
|
||||
|
||||
static inline int wcd938x_slave_get_master_ch_val(int ch)
|
||||
{
|
||||
@@ -127,5 +128,9 @@ static inline int wcd938x_slave_get_slave_ch_val(int ch)
|
||||
{
|
||||
return 0;
|
||||
}
|
||||
static int wcd938x_codec_get_dev_num(struct snd_soc_component *component)
|
||||
{
|
||||
return 0;
|
||||
}
|
||||
#endif /* CONFIG_SND_SOC_WCD938X */
|
||||
#endif /* _WCD938X_H */
|
||||
|
Reference in New Issue
Block a user