commit | 0c0b93f77032e6c79185e933b95c6f45d62eca3f | [log] [tgz] |
---|---|---|
author | yu.dong <yu.dong@mobiletek.cn> | Fri Jun 20 03:20:45 2025 -0700 |
committer | yu.dong@mobiletek.cn <yu.dong@mobiletek.cn> | Fri Jul 04 10:17:01 2025 +0000 |
tree | 5054c34b3ea42228dc1dd5dca9e0400ac47bd736 | |
parent | 6ba9e9eb6845540c055499be71fb1406bb91b510 [diff] |
[Function][T600][task-view-963] Reduced ADC cpu usage Note: It can go down to 1 ½ and now average cpu occupancy 1% Only Configure: No Affected Branches: master Affected Modules: N/A Are affected by: ASR only Self-test: Yes File Update: No Change-Id: Iafd1889f7809a417c41ffb7dd0bf5551410e031d
diff --git a/cap/zx297520v3/zxic_code/zxic_source/linux-5.10/drivers/mfd/zx234290-adc.c b/cap/zx297520v3/zxic_code/zxic_source/linux-5.10/drivers/mfd/zx234290-adc.c index f79c485..282f484 100644 --- a/cap/zx297520v3/zxic_code/zxic_source/linux-5.10/drivers/mfd/zx234290-adc.c +++ b/cap/zx297520v3/zxic_code/zxic_source/linux-5.10/drivers/mfd/zx234290-adc.c
@@ -291,7 +291,7 @@ soft_spin_unlock(ADC_SFLOCK); return nRet; } - udelay(500); + usleep_range(400,600); //yu.dong @ 250620 Reduced ADC cpu usage /*read status_A*/ nRet = zx234290_i2c_read_simple(ZX234290_REG_ADDR_STSA, &status_a); if (nRet != 0)