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>
This commit is contained in:

committed by
Gerrit - the friendly Code Review server

parent
1db5a7d432
commit
c3fd6cc305
@@ -456,6 +456,12 @@ struct wcd_mbhc_register {
|
||||
};
|
||||
|
||||
struct wcd_mbhc_cb {
|
||||
void (*mbhc_micb_pullup_control)
|
||||
(struct snd_soc_component *component, bool enable);
|
||||
void (*get_micbias_val)
|
||||
(struct wcd_mbhc *mbhc, int *mb);
|
||||
void (*hs_vref_max_update)
|
||||
(struct wcd_mbhc *mbhc);
|
||||
void (*bcs_enable)
|
||||
(struct wcd_mbhc *mbhc, bool bcs_enable);
|
||||
int (*enable_mb_source)(struct wcd_mbhc *mbhc, bool turn_on);
|
||||
|
Reference in New Issue
Block a user