From a3a2e257c64379a2b27002bf7e0ab3a21e244714 Mon Sep 17 00:00:00 2001 From: Anan Jaser Date: Wed, 23 Sep 2020 02:55:52 +0400 Subject: [PATCH] drivers: sensorhub: fix misleading intendation Change-Id: I76ef0a3f15e1f58d58a6895bc764d5e9c180c166 --- drivers/sensorhub/brcm/ssp_i2c.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/drivers/sensorhub/brcm/ssp_i2c.c b/drivers/sensorhub/brcm/ssp_i2c.c index a05e33a107a1..b113e67fb6fc 100644 --- a/drivers/sensorhub/brcm/ssp_i2c.c +++ b/drivers/sensorhub/brcm/ssp_i2c.c @@ -312,11 +312,12 @@ int send_instruction(struct ssp_data *data, u8 uInst, if (uInst == ADD_SENSOR || uInst == CHANGE_DELAY) { unsigned int BatchTimeforReset = 0; //current_Ts = get_current_timestamp(); - if (uLength >= 9) + if (uLength >= 9) { BatchTimeforReset = *(unsigned int *)(&uSendBuf[4]);// Add / change normal case, not factory. //pr_info("[SSP] %s timeForRest %d", __func__, BatchTimeforReset); data->IsBypassMode[uSensorType] = (BatchTimeforReset == 0); //pr_info("[SSP] sensor%d mode%d Time %lld\n", uSensorType, data->IsBypassMode[uSensorType], current_Ts); + } } return iRet; } -- 2.20.1