wls: fix FW version register definition error

For register map of CPS4019, FW_MAJOR_VER is from 0x2,
and FW_MINOR_VER is from 0x4. So we should fix the
configuration errors.

Change-Id: I9080c5f4d4a846d0947c14f0f5f36d6e939ad531
Reviewed-on: https://gerrit.mot.com/2239690
SME-Granted: SME Approvals Granted
SLTApproved: Slta Waiver
Tested-by: Jira Key
Reviewed-by: Huosheng Liao <liaohs@motorola.com>
Submit-Approved: Jira Key
This commit is contained in:
weiweij 2022-04-12 14:31:38 +08:00 • committed by Wei Wei
commit c9c71cb62f

View file

@ -153,8 +153,8 @@ typedef struct
cps_reg_s cps_reg_cfg[CPS_REG_MAX] = {
/* reg name bytes number reg address */
{CPS_REG_CHIP_ID, 2, 0x0000},
{CPS_REG_FW_MAJOR_REV, 2, 0x0004},
{CPS_REG_FW_MINOR_REV, 2, 0x0006},
{CPS_REG_FW_MAJOR_REV, 2, 0x0002},
{CPS_REG_FW_MINOR_REV, 2, 0x0004},
{CPS_REG_INT, 2, 0x0022},
{CPS_REG_INT_ENABLE, 2, 0x0024},
{CPS_REG_INT_CLEAR, 2, 0x0026},