power: supply: qti_battery_charger: Increase wireless FW prepare time

Currently, prepare time for wireless FW update is set to 300 ms.
This was sufficient enough for previous targets which had used
wireless receiver IDT9412. For IDT9415, a prepare time > 300 ms
is required to make sure pre-regulator is disabled and WLS_IN is
plugged out. Hence, increase this to 1 second so that it can be
well accommodated.

Change-Id: Ibff4ec606257e04fcf0405c3f145585d30a38ed7
Signed-off-by: Subbaraman Narayanamurthy <subbaram@codeaurora.org>
This commit is contained in:
Subbaraman Narayanamurthy 2021-06-17 20:03:08 -07:00 committed by Anjelique Melendez
parent 7fbbeb3710
commit e395d85f4e

View File

@ -45,7 +45,7 @@
/* Generic definitions */
#define MAX_STR_LEN 128
#define BC_WAIT_TIME_MS 1000
#define WLS_FW_PREPARE_TIME_MS 300
#define WLS_FW_PREPARE_TIME_MS 1000
#define WLS_FW_WAIT_TIME_MS 500
#define WLS_FW_UPDATE_TIME_MS 1000
#define WLS_FW_BUF_SIZE 128