mirror of
git://nv-tegra.nvidia.com/linux-nv-oot.git
synced 2025-12-25 10:42:21 +03:00
ASoC: tegra-alt: remove SWITCH API's
- remove SWITCH driver API's and instead use jack input events to report HEADSET status. Bug 200395440 Change-Id: I3fc3a645331d044bf3b2fd7b890cee33f2b28246 Signed-off-by: Dara Ramesh <dramesh@nvidia.com> Reviewed-on: https://git-master.nvidia.com/r/1671224 Reviewed-by: Sameer Pujar <spujar@nvidia.com> Reviewed-by: svc-mobile-coverity <svc-mobile-coverity@nvidia.com> Tested-by: Sameer Pujar <spujar@nvidia.com> GVS: Gerrit_Virtual_Submit Reviewed-by: Ravindra Lokhande <rlokhande@nvidia.com> Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com> Tested-by: mobile promotions <svcmobile_promotions@nvidia.com>
This commit is contained in:
committed by
Sameer Pujar
parent
29defcb5da
commit
3b5bfa8461
@@ -23,10 +23,6 @@
|
||||
#ifndef __TEGRA_ASOC_UTILS_ALT_H_
|
||||
#define __TEGRA_ASOC_UTILS_ALT_H_
|
||||
|
||||
#ifdef CONFIG_SWITCH
|
||||
#include <linux/switch.h>
|
||||
#endif
|
||||
|
||||
struct clk;
|
||||
struct device;
|
||||
|
||||
@@ -101,9 +97,4 @@ int tegra_alt_asoc_utils_register_ctls(struct tegra_asoc_audio_clock_info *data)
|
||||
|
||||
int tegra_alt_asoc_utils_tristate_dap(int id, bool tristate);
|
||||
|
||||
#ifdef CONFIG_SWITCH
|
||||
int tegra_alt_asoc_switch_register(struct switch_dev *sdev);
|
||||
void tegra_alt_asoc_switch_unregister(struct switch_dev *sdev);
|
||||
#endif
|
||||
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user