From 2c63588e33ef244d75d964580f20d1b07bf4fdd3 Mon Sep 17 00:00:00 2001 From: fraunak Date: Fri, 27 Jan 2023 21:47:19 +0000 Subject: [PATCH] kernel-oot: add isp request status arguments Bug 3896353 Change-Id: I6d8a88a4d6697a6cb0d89951402cfa6eac5383e5 Signed-off-by: fraunak Reviewed-on: https://git-master.nvidia.com/r/c/linux-nv-oot/+/2849877 Reviewed-by: svc-mobile-coverity Reviewed-by: svc-mobile-cert Reviewed-by: Ajith Kumar Reviewed-by: Bhushan Rayrikar Reviewed-by: Shiva Dubey GVS: Gerrit_Virtual_Submit --- .../tegra/camera/fusa-capture/capture-isp-channel.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/drivers/media/platform/tegra/camera/fusa-capture/capture-isp-channel.c b/drivers/media/platform/tegra/camera/fusa-capture/capture-isp-channel.c index 90d16333..4a6b24f4 100644 --- a/drivers/media/platform/tegra/camera/fusa-capture/capture-isp-channel.c +++ b/drivers/media/platform/tegra/camera/fusa-capture/capture-isp-channel.c @@ -1,5 +1,5 @@ // SPDX-License-Identifier: GPL-2.0 -// Copyright (c) 2017-2022 NVIDIA Corporation. All rights reserved. +// Copyright (c) 2017-2023 NVIDIA Corporation. All rights reserved. /** * @file drivers/media/platform/tegra/camera/fusa-capture/capture-isp-channel.c @@ -445,11 +445,11 @@ static long isp_channel_ioctl( } case _IOC_NR(ISP_CAPTURE_STATUS): { - uint32_t status; + uint32_t timeout; - if (copy_from_user(&status, ptr, sizeof(status))) + if (copy_from_user(&timeout, ptr, sizeof(timeout))) break; - err = isp_capture_status(chan, status); + err = isp_capture_status(chan, timeout); if (err) dev_err(chan->isp_dev, "isp process get status failed\n");