Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 4d31c000 authored by Sudheer Papothi's avatar Sudheer Papothi Committed by Gerrit - the friendly Code Review server
Browse files

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: default avatarSudheer Papothi <spapothi@codeaurora.org>
parent c9443c28
Loading
Loading
Loading
Loading
+0 −2
Original line number Diff line number Diff line
@@ -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_micbias_control(struct snd_soc_component *component,
			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 */
+19 −0
Original line number Diff line number Diff line
/* 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 */