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

Commit d083b2fd authored by Ram Chandrasekar's avatar Ram Chandrasekar
Browse files

power: battery_current_limit: Use low resolution timer for vph monitoring



Use the 3.9 millisecond timer for vph monitoring.

CRs-Fixed: 629894
Change-Id: If5a39ec9992b1d7686a713562389a577c3f74592
Signed-off-by: default avatarRam Chandrasekar <rkumbako@codeaurora.org>
parent 2287a76e
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -393,7 +393,7 @@ static int bcl_config_vph_adc(struct bcl_context *bcl,
	bcl->btm_vph_adc_param.low_thr = bcl->btm_vph_low_thresh;
	bcl->btm_vph_adc_param.high_thr = bcl->btm_vph_high_thresh;
	bcl->btm_vph_adc_param.timer_interval =
			adc_timer_val_usec[ADC_MEAS1_INTERVAL_4S];
			adc_timer_val_usec[ADC_MEAS1_INTERVAL_3P9MS];
	bcl->btm_vph_adc_param.btm_ctx = bcl;
	bcl->btm_vph_adc_param.threshold_notification = bcl_vph_notification;
	bcl->btm_vph_adc_param.channel = bcl->btm_vph_chan;