mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-11 07:03:09 -04:00
Merge "msm: camera: sensor: Fix misleading indentation issue" into camera-kernel.lnx.4.0
This commit is contained in:
commit
9b8cae4b7c
1 changed files with 5 additions and 3 deletions
|
|
@ -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 <linux/dma-contiguous.h>
|
||||
|
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue