ASoC: wsa883x: Add support for interrupt handling and variant
Add support to handle wsa883x codec interrupts and runtime detection of wsa883x variant. Change-Id: I06fc113a390c04e890062761cff8ae7436acb662 Signed-off-by: Sudheer Papothi <spapothi@codeaurora.org>
This commit is contained in:
@@ -78,7 +78,6 @@ struct wsa883x_priv {
|
||||
bool visense_enable;
|
||||
bool ext_vdd_spk;
|
||||
struct swr_port port[WSA883X_MAX_SWR_PORTS];
|
||||
int pd_gpio;
|
||||
int global_pa_cnt;
|
||||
int dev_mode;
|
||||
struct mutex res_lock;
|
||||
@@ -87,6 +86,9 @@ struct wsa883x_priv {
|
||||
struct device_node *wsa_rst_np;
|
||||
int pa_mute;
|
||||
int curr_temp;
|
||||
int variant;
|
||||
struct irq_domain *virq;
|
||||
struct wcd_irq_info irq_info;
|
||||
#ifdef CONFIG_DEBUG_FS
|
||||
struct dentry *debugfs_dent;
|
||||
struct dentry *debugfs_peek;
|
||||
|
Reference in New Issue
Block a user