asoc: codecs: Fix button interrupts issue in rouleur

Current source mode in rouleur does not work
properly leading to issues in button interrupts
and fake electrical removal interrupts.
Enable pull up mode instead of current source
mode to fix these issues. Modify the headset
max vref voltage to 1.7 volts and micbias
calculation logic.

Change-Id: If3e4a2fdcf080b07fe3c363b6eb6115f101b91f4
Signed-off-by: Aditya Bavanari <abavanar@codeaurora.org>
这个提交包含在:
Aditya Bavanari
2020-04-23 18:57:27 +05:30
提交者 Gerrit - the friendly Code Review server
父节点 1db5a7d432
当前提交 c3fd6cc305
修改 6 个文件,包含 118 行新增19 行删除

查看文件

@@ -82,6 +82,7 @@ struct rouleur_priv {
int mbias_cnt;
struct mutex rx_clk_lock;
struct mutex main_bias_lock;
bool dev_up;
};
struct rouleur_micbias_setting {