asoc: wcd938x: Move APIs from internal header file
Move APIs from internal header file for access to other audio modules. Change-Id: Ib34d052e4beb63c6805abacc3c99dbff18c9af6c Signed-off-by: Sudheer Papothi <spapothi@codeaurora.org>
This commit is contained in:

committed by
Gerrit - the friendly Code Review server

parent
c9443c282a
commit
4d31c00084
@@ -177,6 +177,4 @@ extern int wcd938x_mbhc_micb_adjust_voltage(struct snd_soc_component *component,
|
|||||||
extern int wcd938x_get_micb_vout_ctl_val(u32 micb_mv);
|
extern int wcd938x_get_micb_vout_ctl_val(u32 micb_mv);
|
||||||
extern int wcd938x_micbias_control(struct snd_soc_component *component,
|
extern int wcd938x_micbias_control(struct snd_soc_component *component,
|
||||||
int micb_num, int req, bool is_dapm);
|
int micb_num, int req, bool is_dapm);
|
||||||
extern int wcd938x_info_create_codec_entry(struct snd_info_entry *codec_root,
|
|
||||||
struct snd_soc_component *component);
|
|
||||||
#endif /* _WCD938X_INTERNAL_H */
|
#endif /* _WCD938X_INTERNAL_H */
|
||||||
|
19
asoc/codecs/wcd938x/wcd938x.h
Normal file
19
asoc/codecs/wcd938x/wcd938x.h
Normal file
@@ -0,0 +1,19 @@
|
|||||||
|
/* SPDX-License-Identifier: GPL-2.0-only */
|
||||||
|
/*
|
||||||
|
* Copyright (c) 2018, The Linux Foundation. All rights reserved.
|
||||||
|
*/
|
||||||
|
|
||||||
|
#ifndef _WCD938X_H
|
||||||
|
#define _WCD938X_H
|
||||||
|
|
||||||
|
#ifdef CONFIG_SND_SOC_WCD938X
|
||||||
|
extern int wcd938x_info_create_codec_entry(struct snd_info_entry *codec_root,
|
||||||
|
struct snd_soc_component *component);
|
||||||
|
#else
|
||||||
|
extern int wcd938x_info_create_codec_entry(struct snd_info_entry *codec_root,
|
||||||
|
struct snd_soc_component *component)
|
||||||
|
{
|
||||||
|
return 0;
|
||||||
|
}
|
||||||
|
#endif /* CONFIG_SND_SOC_WCD938X */
|
||||||
|
#endif /* _WCD938X_H */
|
Reference in New Issue
Block a user