From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-lf1-f41.google.com (mail-lf1-f41.google.com [209.85.167.41]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 09C0B3DFC79 for ; Wed, 13 May 2026 08:41:52 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.167.41 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1778661719; cv=none; b=UXFHhVr7Ek6jQW4RxTnWZ1hqfQ4XeVoR0PuePQQbuRfVF63wgOJxWJuh6GL+pR2SFaXSxTDloBXmcuOYhR+BRnbnERr1+G2GOdXxd5IsxELwoitvWwoy7W+7yEeIOQWKEr5jlVxIRkYZCbCE8PE2KepKNZDJ84/3lRqC+PfKMyg= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1778661719; c=relaxed/simple; bh=rEgCi6WbSL8Xo+YaQq/VpnJLI0p0KP0P0boReoNJ/GQ=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=pLo5D8kG5sszVWfhcMmx1J7lhKnGgjKNVhTBTWW0nPOOmDK3Xk2VDOcw5yxnxRfVR1ON5B1AW2cbOiuLkxztInvcDWl9bA/tbmhfJz5wUNki1Vew5w0/PVD4JpXulCOL61eEVemKNYxfPQTG+8xpg21jj7w4SqFcMR34eTnMuSg= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com; spf=pass smtp.mailfrom=gmail.com; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b=it/A9Ma7; arc=none smtp.client-ip=209.85.167.41 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=gmail.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="it/A9Ma7" Received: by mail-lf1-f41.google.com with SMTP id 2adb3069b0e04-5a8704dc3a8so6617670e87.3 for ; Wed, 13 May 2026 01:41:52 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20251104; t=1778661709; x=1779266509; darn=vger.kernel.org; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=mI5ZtFaAxbXxSmMeyL6G67aMq2kdYFf+5RyhkuotiDo=; b=it/A9Ma7ERNcKp1iQao/w/uBIsiQ9WkGlmYFdgMi8ISKb33XuGvHcx8G/k49bciSC3 J5AF3Zh90n5XIUCSrYZPWFjITop9DILXaP9FEg+LaRSNKz/XE0tSBenG2PDzRBNf57rz OOqB7ZdKgdlWjeFUEnXkQgTbbh3tYoUIWzwp5ZrIy9NwDQLLJHKnAHG5uTabbvnwP152 uGxs/2FU5e4A/Ezv4rG2Rp61RbWtWDLaBGWUSMxZRzTxy4ZdaZTNmRnHuDaNXevHEi1K 4FFcjUciOMsqfierCDWfyGKlxuQJVo54gGWL1mNgjWk1+ImWkZmwa2d01X63tJMQXt0I b+VA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20251104; t=1778661709; x=1779266509; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-gg:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=mI5ZtFaAxbXxSmMeyL6G67aMq2kdYFf+5RyhkuotiDo=; b=V6ptn9u2Chm881pufDTK6OcG6Z5PCWBpurKOFZUHggGvakZ3vNJTXV8v2fnOBTD7a5 QA6KsV5IkYaB2tF2UCNfXkPnWJP47qbmzIEoc3vbFrZKA9X1vH51QNfbsdRlzMn3ADf7 BIZ3TLpqN62TmVK3zLWMMyq5Zq+R3sTzWBON/WZI3pvGMYuUJV2aDTfHIt1dc6Ksaw7R vYe49ORXzy0Eqe+Cev4wtv+H/THI9grzOrUu82TJ+LhTapZtoXJrMQd9pLaVl/mRcOdJ 391xTXn8ZOsrJnY0P5YxfWNjPuBg+V6oUE1IidKjel8FActDp0/64St8B5VxoDAz9z6S hy6g== X-Forwarded-Encrypted: i=1; AFNElJ+v+6C/6SIk3tPgYkGCgr5WrKgAewAXOXo2TSDVSV1bMDpPyqDDTuQPmg/1vde+qYEtFIlUgyy+o0o/c0M=@vger.kernel.org X-Gm-Message-State: AOJu0YzUZGSlLy7eAnwB5gij3Z/P3nqC90d72IqBR8dMf82Mt6RqqweA FRuxi1DYeW2TwpHYjymmvKm+T6SNgiNHI4gqyFJ7jlWzyH9LkJ6lUufv X-Gm-Gg: Acq92OGuwGW9+iVAlHWe342ObNtKzcvK6ELUq1+4FXPNskPrvM2Xfkw7swEBj1xV7Yh Eem7T7SSy7Bnw4My5yVWQFIjlasOKuKMcZpCgfSEM4ovJPy30CfNRmkOcK5Rte4RiYu1BIB47tc 4wiugv6tarb5KL3y0Rl63KnNlfIn1YWtlM0Hq990vzccoWMZmkeV6MCVp29ecPGfsU7qX+IUY+F 6eplOrL3OetGBDtFeALfJaQsqjdEEJQHi7rmZfrf2oNsK7V7KfFNymh5JxB77/fy5YJzFnaxTFs e3vfbI6Fu4ouZRjP8r4p4ayKglDsx8mxQWSSai0BX+3e/peIzuOnu71ouMznpB7oQI3RbnXQtYH Nnha4HRX7tocTSLt3znzLJgLmBlHd/PGQ9EESPgOCZM5bOMDVitln1EA7GT8of60FnkxUWuIZ8m Py3i7YV0SPzb22QS3tFP2ulG+2MRg2Upx2YlHySQj8bTW3AN8p+WZAFvxyfKd+EQSPyQ0DSqgZ2 2Q= X-Received: by 2002:a05:6512:15a1:b0:5a8:6e50:b16a with SMTP id 2adb3069b0e04-5a8ef9a29f8mr881136e87.34.1778661709267; Wed, 13 May 2026 01:41:49 -0700 (PDT) Received: from localhost.localdomain (95-25-161-220.broadband.corbina.ru. [95.25.161.220]) by smtp.gmail.com with ESMTPSA id 2adb3069b0e04-5a8a95664easm3846493e87.70.2026.05.13.01.41.48 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 13 May 2026 01:41:48 -0700 (PDT) From: IgorpetinDev To: hansg@kernel.org, mchehab@kernel.org, gregkh@linuxfoundation.org Cc: sakari.ailus@linux.intel.com, andy@kernel.org, linux-media@vger.kernel.org, linux-kernel@vger.kernel.org, linux-staging@lists.linux.dev, IgorpetinDev Subject: [PATCH] staging: atomisp: fix trailing statements in input_system.c Date: Wed, 13 May 2026 11:41:46 +0300 Message-ID: <20260513084146.57706-1-igorpetindev@gmail.com> X-Mailer: git-send-email 2.43.0 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Change-Id: Id89273d4ac76e8155aa6b1600d1f223407e0412f Signed-off-by: IgorpetinDev --- .../hive_isp_css_common/host/input_system.c | 18 ++++++++++++------ 1 file changed, 12 insertions(+), 6 deletions(-) diff --git a/drivers/staging/media/atomisp/pci/hive_isp_css_common/host/input_system.c b/drivers/staging/media/atomisp/pci/hive_isp_css_common/host/input_system.c index 9f1199c47..86c9d7a48 100644 --- a/drivers/staging/media/atomisp/pci/hive_isp_css_common/host/input_system.c +++ b/drivers/staging/media/atomisp/pci/hive_isp_css_common/host/input_system.c @@ -423,7 +423,8 @@ static input_system_err_t input_system_configure_channel( return INPUT_SYSTEM_ERR_PARAMETER_NOT_SUPPORTED; } - if (error != INPUT_SYSTEM_ERR_NO_ERROR) return error; + if (error != INPUT_SYSTEM_ERR_NO_ERROR) + return error; // Input switch channel configurations must be combined in united config. config.input_switch_cfg.hsync_data_reg[channel.source_cfg.csi_cfg.csi_port * 2] = @@ -1094,13 +1095,15 @@ static input_system_err_t input_system_configure_channel_sensor( status = set_source_type(&config.source_type, channel.source_type, &config.source_type_flags); - if (status != INPUT_SYSTEM_ERR_NO_ERROR) return status; + if (status != INPUT_SYSTEM_ERR_NO_ERROR) + return status; // Check for conflicts on source (implicitly on multicast, capture unit and input buffer). status = set_csi_cfg(&config.csi_value[port], &channel.source_cfg.csi_cfg, &config.csi_flags[port]); - if (status != INPUT_SYSTEM_ERR_NO_ERROR) return status; + if (status != INPUT_SYSTEM_ERR_NO_ERROR) + return status; switch (channel.source_cfg.csi_cfg.buffering_mode) { case INPUT_SYSTEM_FIFO_CAPTURE: @@ -1109,7 +1112,8 @@ static input_system_err_t input_system_configure_channel_sensor( mux = INPUT_SYSTEM_MIPI_PORT0 + port; status = input_system_multiplexer_cfg(&config.multiplexer, mux, &config.multiplexer_flags); - if (status != INPUT_SYSTEM_ERR_NO_ERROR) return status; + if (status != INPUT_SYSTEM_ERR_NO_ERROR) + return status; config.multicast[port] = INPUT_SYSTEM_CSI_BACKEND; // Shared resource, so it should be blocked. @@ -1124,7 +1128,8 @@ static input_system_err_t input_system_configure_channel_sensor( mux = INPUT_SYSTEM_ACQUISITION_UNIT; status = input_system_multiplexer_cfg(&config.multiplexer, mux, &config.multiplexer_flags); - if (status != INPUT_SYSTEM_ERR_NO_ERROR) return status; + if (status != INPUT_SYSTEM_ERR_NO_ERROR) + return status; config.multicast[port] = INPUT_SYSTEM_INPUT_BUFFER; // Shared resource, so it should be blocked. @@ -1139,7 +1144,8 @@ static input_system_err_t input_system_configure_channel_sensor( mux = INPUT_SYSTEM_ACQUISITION_UNIT; status = input_system_multiplexer_cfg(&config.multiplexer, mux, &config.multiplexer_flags); - if (status != INPUT_SYSTEM_ERR_NO_ERROR) return status; + if (status != INPUT_SYSTEM_ERR_NO_ERROR) + return status; config.multicast[port] = INPUT_SYSTEM_INPUT_BUFFER; // Shared resource, so it should be blocked. -- 2.43.0