From 61575d2c08d571aa70b24c69687754bd4a21f8f5 Mon Sep 17 00:00:00 2001 From: Depeng Shao Date: Wed, 15 Jul 2020 22:44:25 +0800 Subject: [PATCH] msm: camera: sensor: Fix misleading indentation issue Fix misleading indentation issue. CRs-Fixed: 2732403 Change-Id: I1f04f0de14ef7c18d669f17842c712f340d093ed Signed-off-by: Depeng Shao --- drivers/cam_sensor_module/cam_sensor_io/cam_sensor_spi.c | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/drivers/cam_sensor_module/cam_sensor_io/cam_sensor_spi.c b/drivers/cam_sensor_module/cam_sensor_io/cam_sensor_spi.c index 3d09a4ea7eb3..b41626704509 100644 --- a/drivers/cam_sensor_module/cam_sensor_io/cam_sensor_spi.c +++ b/drivers/cam_sensor_module/cam_sensor_io/cam_sensor_spi.c @@ -1,6 +1,6 @@ // SPDX-License-Identifier: GPL-2.0-only /* - * Copyright (c) 2017-2019, The Linux Foundation. All rights reserved. + * Copyright (c) 2017-2020, The Linux Foundation. All rights reserved. */ #include @@ -171,12 +171,14 @@ static int32_t cam_spi_tx_helper(struct camera_io_master *client, memcpy(data, crx + hlen, num_byte); out: - if (!tx) + if (!tx) { vfree(vaddr_tx); vaddr_tx = NULL; - if (!rx) + } + if (!rx) { vfree(vaddr_rx); vaddr_rx = NULL; + } return rc; }