motorola: dlkm: write NA or ROW reg after FW updated

-write NA or ROW reg after FW updated

Change-Id: I902485d805067d74b8d2590e85bf3e8aeb8d41da
Signed-off-by: chenlj2 <chenlj2@motorola.com>
Reviewed-on: https://gerrit.mot.com/1224745
SLTApproved: Slta Waiver
SME-Granted: SME Approvals Granted
Tested-by: Jira Key
Reviewed-by: Wen Xie <xiewen3@motorola.com>
Reviewed-by: Yi Cao <caoyi1@motorola.com>
Reviewed-by: Hujun Liao <liaohj@motorola.com>
Submit-Approved: Jira Key
This commit is contained in:
chenlj2 2018-08-11 15:36:28 +08:00 • committed by Lijun Chen
commit d365e24d5b

View file

@ -1211,6 +1211,7 @@ static int _abov_fw_update(struct i2c_client *client, const u8 *image, u32 size)
unsigned short address;
unsigned char addrH, addrL;
unsigned char data[32] = {0, };
pabovXX_t this = abov_sar_ptr;
LOG_INFO("%s: call in\r\n", __func__);
@ -1271,6 +1272,8 @@ static int _abov_fw_update(struct i2c_client *client, const u8 *image, u32 size)
}
SLEEP(100);
hw_init(this);
return ret;
}