From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-pf1-f174.google.com (mail-pf1-f174.google.com [209.85.210.174]) (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 6FFDF3314B9 for ; Wed, 7 Jan 2026 13:49:08 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.210.174 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1767793750; cv=none; b=LkuUHuSDMsZAJXIemty9YfuBZZLMWRs2cS4beHDGtJfYgbTnotqRmt0ttdNMqnNcoV/2mnRbk/lyhi/S5nryAVijp3ZgKwiXfRWGQMVP4tdTaa0MPIfwyxXoq1aZ9p4+BcU3oRnvRVLcobT1z7n7C5ZiDOiFgCgCNS9qIdSgtyA= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1767793750; c=relaxed/simple; bh=PIgdhokxKmOQqn2YJNx64hxKMduQw5sTcwbexWtt+eU=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=KQlwFCQxXXUjZizRulS/NcscKL7V5L4Sge5CH0DvouFIrU4CeT4xAkFBuY7Xs+Xk4+nE9GGDjzbhzVAl4o8sahkmON6jXt791bq/S1waOR4IKlth16kZWWkbuCwqjxSLQi7Rjcmgc3PUJb4EdUAcLRKKLx4kry6KHoYgKUOiQQM= 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=NpCZhVM+; arc=none smtp.client-ip=209.85.210.174 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="NpCZhVM+" Received: by mail-pf1-f174.google.com with SMTP id d2e1a72fcca58-7a9c64dfa8aso1450422b3a.3 for ; Wed, 07 Jan 2026 05:49:08 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1767793748; x=1768398548; darn=vger.kernel.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=WxGmxcm8W090/d5nMTt/wORMSUlKQtayAk95lHOSsFw=; b=NpCZhVM+IsYfg3nv/pPLc2NwlFssxWOA2zJyADY7xR6yVawqq0Y1WcU+SaQHvXd1vk sQs1w9odn16OuSIzG1gzCv8Gdte7ncxABVXi4kQUHq6UEk4KhIndk8zXGL46EJEy5aST ergrZeBS51xPkVE0MNYIwWpl50Pf+CUZw6yNDnZ0jhzxZ2lcKud7i+bGgko+tbIddxBg bBvfsFd+EjuZS3fJeE2NwFWq8ndLPusxEOfAOhhi0hnuSq0cY2z5PJEwvLEghkqn9JKV gyEBvX5iu1SWGKkj2dlXBBQLmzYNC+ka86X5ySmKkTNUZ5myGXPLebwiPnEDuDlFWzTr +peg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1767793748; x=1768398548; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-gg:x-gm-message-state:from :to:cc:subject:date:message-id:reply-to; bh=WxGmxcm8W090/d5nMTt/wORMSUlKQtayAk95lHOSsFw=; b=JqRobFdZPtpn3FOMLn3sNmwxcAThqBiW1Oawb6CRBaOIwUZwCNJXBW9sTKHbRnvh5f QT1WvBh2bXz6+8az9LbI9XsM01dszm0Vy8FapO67E8VZhAVrCL0gdJZIJkWodcWijPd+ KkiOPvOVEDlkjXY/kR91t7u3ucpMvWEIih47i15SEXns9EbQSY5GfvJZqhf+pJ9SuaXf 3bn9WJM7Fjn4+iVNRjIXg6Gh3FiEXfjel93gg0Kp4CqkIaCKTroQL76e6tLw0dREF3In TTIqr6Avr39+06aMb89cNELjllx5CWGXysIp3qIbChVLkkPtSG7jdfrxljjsQ5gvWy0U bRkQ== X-Forwarded-Encrypted: i=1; AJvYcCUkywtfjNLhSNW2bJMGZ8o90O3ZLz73eCQa/+3kI/JeQYIW8lojWnX2//B5QDQWXSBXhavYFZlo4l2C2Hk=@vger.kernel.org X-Gm-Message-State: AOJu0YwLorf6xrXnqP1gP15l4cM+PhZfSHn6ZEgJX1FDJBbssoh93spb BwiPBCIa3dOny/JihPfeEO4PfDXKwujuVzFJd3faw8oeYwpDN0bbuSPe X-Gm-Gg: AY/fxX6cYnywv+29niNHbiS7wAsECu40Kd0QhIzvxO/7kt71VMT0yWcmoiNcGp9UeWu ZfJr5zWaqxZhE1uHELRBEFW6KQde65sXvhTUJNUVLClzd/0YXTDn37V1+AQV4rhOomxiTkXlpP6 1eM/7gJKS68nh5dkKqDkrP8ttpnyi14xJHR8zibzdMnWPwdpFzX4CdVf8f0EV0FYPI/MQOU8U/b 5MdDX72mHe+zqXIg3g16cjyrq4FTsp5WMlyuDI4j6ujPTVZQ6CDy9M2QvSSmhlan9UyeZNT7hdI BX1tw3RxaaqB4r05x+fHVFXihcj+9HjyZSNcwqPdQhRyMhiSjc+D76KvUY0xzGzhUMwPJojU71b iT/HDEV5jkbf9QuZ+wyjQqnZp/M4CDcEx9do2gpB4ALjgsYiceJTvNPHv7j9p9pDlzED0DKpiVR B/WKFFkrMGbCU= X-Google-Smtp-Source: AGHT+IGJdT2Ci0JP0VKzc3VKsEzWxo3Sysx3HJ/oNP0h/r1jSvEC0TGt4bis1ZBfXHQRRGgyfW+kYQ== X-Received: by 2002:a05:6a00:32c3:b0:7e8:43f5:bd4c with SMTP id d2e1a72fcca58-81b7fbd2a5amr2389187b3a.56.1767793747571; Wed, 07 Jan 2026 05:49:07 -0800 (PST) Received: from karthik.. ([43.247.159.43]) by smtp.gmail.com with ESMTPSA id d2e1a72fcca58-819c5302c61sm5109577b3a.42.2026.01.07.05.49.04 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 07 Jan 2026 05:49:07 -0800 (PST) From: Karthikey D Kadati To: Hans de Goede , Mauro Carvalho Chehab Cc: Sakari Ailus , linux-media@vger.kernel.org, linux-staging@lists.linux.dev, linux-kernel@vger.kernel.org, Karthikey D Kadati Subject: [PATCH v2 RESEND 0/3] media: atomisp: refactoring and fixes for V4L2 compliance Date: Wed, 7 Jan 2026 19:18:41 +0530 Message-ID: <20260107134844.68074-1-karthikey3608@gmail.com> X-Mailer: git-send-email 2.43.0 In-Reply-To: <81e2d12c-342b-4b88-88a0-3e24115541aa@kernel.org> References: <81e2d12c-342b-4b88-88a0-3e24115541aa@kernel.org> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit This patch series addresses maintainer feedback and fixes build errors in the atomisp driver. Patch 1: Standardizes the 'Bridge' structs significantly by using v4l2_rect instead of custom shadow structs and aligning ia_css_region members with V4L2 conventions. Patch 2: Introduces a helper function for statistics buffer allocation to reduce code duplication and centralize error handling logic. Patch 3: Adds missing error propagation for IRQ enable and XNR configuration to improve robustness. This series is based on the latest staging/next tree and has been verified with checkpatch.pl --strict. Karthikey D Kadati (3): media: atomisp: replace shadow zoom structs with v4l2_rect media: atomisp: consolidate statistics buffer allocation media: atomisp: propagate errors from ISP xnr and IRQ enable .../media/atomisp/include/linux/atomisp.h | 19 +-- .../staging/media/atomisp/pci/atomisp_cmd.c | 142 +++++++++--------- .../staging/media/atomisp/pci/atomisp_ioctl.c | 123 +++++++++------ .../staging/media/atomisp/pci/ia_css_types.h | 6 +- .../staging/media/atomisp/pci/sh_css_params.c | 16 +- 5 files changed, 166 insertions(+), 140 deletions(-) -- 2.43.0