From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-wm1-f51.google.com (mail-wm1-f51.google.com [209.85.128.51]) (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 0A8B0267AF2 for ; Sun, 5 Apr 2026 09:31:05 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.128.51 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1775381467; cv=none; b=Zir3dtyrbPb1IdjKY5bnu3HgWsQRdqMDSsd3mYdQgTQzqTfP9J+4jP0I2+TNTTvdo0Tx/DxaQUGri1cjuWen1kZW/5eEPBz03dneILlTwcuSt9y+ClYcc7Id8vPTuTjxTJqv4nV2JPHhreCZfWDHMbAAVUZTmGcZmwv6L0YKXV4= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1775381467; c=relaxed/simple; bh=I1QQxUsSNrQ50lyL1JZyBC4jdCaPKFPub8EGFfbJjqQ=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=TYfupY0RzXIU31XyAlh3Jf4OBGXH+9lSODuTQ1nl3l1S4n4ZoXipGRRMC2n4xm1+BeBYvory/IXgC3cIIxkq64FZ2lXaolL7y2uh6WfUooV8u+grtF1FD36Dk8Jc8RBzpsvbZ7bTt+y8L01a4jAYKZbV+AhlvnPtBP0lv2F1cwE= 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=cEqaZi7/; arc=none smtp.client-ip=209.85.128.51 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="cEqaZi7/" Received: by mail-wm1-f51.google.com with SMTP id 5b1f17b1804b1-4887f49ec5aso44295135e9.1 for ; Sun, 05 Apr 2026 02:31:05 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20251104; t=1775381464; x=1775986264; 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=1Bk6jQ+DS/ptDGbi6xpzIUAs6Ea35R0oXfWRyiGUH/U=; b=cEqaZi7/CfsgzsA4jT07RK1Se/9V6aPPUaGAbG+cjKFvlnT7KnGIrNGzBGOBnMH/jw dYzaH8YcqnpZ7Rvk01JisMWCEfyt9XF2vo6eY61YSEQTSMOWM0DCp1uiAjp3Jsku7ELm r41YSvna7sQcQtpCdd66oLa1P7uQyv39PQfiMZF1RvykPojUhVfeYh5G0NT2en3JYoJi zMtpkqBjPBDBcluiYnBfppHp6saoNcNSWmnqlbvWIHiZHAlsIJ6PMF7SqzunqiQ/eHEf 01zDsY5mnlbj6nJsXTE16RYysac1PQ5eBOLHrbF+p7U9+TxhEvxe999ZUU+gqlNA1v9d affA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20251104; t=1775381464; x=1775986264; 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=1Bk6jQ+DS/ptDGbi6xpzIUAs6Ea35R0oXfWRyiGUH/U=; b=eKJUR4uYFMXGwommG/0RPVqLJRqcVccx6uXZnSXY3DD/ZHbNnKUpgqeii4Rnl0uobu Xc/43oTXKk3MofJxB5rcdF4uRmWe4H8C98mH08IMGwGruDNrs7fIwqrGCTx2CsBxkynt 5zAFSRj1GSs/9Nosbr82DNeRpmlb39sRIawzjiD4pazGrBiqfYB6IUFlSFWFdkdyoXvf 2aA4ycljg4s2HmlWDPj0NVLP0tmciTX+7DhLqZA7//Tgc5RniLLgclY9/F49jOE1fu4R TafCLDGbHEkOM7M0oRoxeBwkG6ZHGOanC3YNdwZbhWBDKzMF6VHB/dV91fDa9oqxSF9b yj7g== X-Forwarded-Encrypted: i=1; AJvYcCXk63DO4YoHXY7oD7SGGlyN8uN2f4dM2L2ErDzLWS7B5qpEHAlx7/emmEICFrv3NV8/TolV7BfZw/VE2vc=@vger.kernel.org X-Gm-Message-State: AOJu0Yxu5AzYt0kkr7pZdQzFSR0rBrEAcYRPcFBgRoYuImVdWQ2tsOiy jT8sFK42nzqvFU2N9Il7e17nGgmDmNnb+vxEWeOpVJFa4O3GmCZ2+DV1WstNNw== X-Gm-Gg: AeBDievkwCXMOzaO5GXWtXudNDnX/wmlyIy9mKoL5QUc3jN46JdpjfTUXLvCKn98mPp WCHynSSNj8hEOrqT6iXOeBDZirmgbIZAFUATatWjqmSIjWPxWIgap+NMQD6ntm5OnJPGyoLYIrh 7kgygT//ddleGsjEdp09G+9cQaAiUolmKcr/5TOtSDmLz3/iOSK0Nwux9DaLcJu3aeVJdfHMehz 25S9vxj56hdfTJXGEUiOTgXviDqc0CfyzQ8N9tYGgPRqPILLk018VNRctpsXoMjs5PgTWICA77m w/WUYctfPQmp6u6ViqphclEw35cY08kEuuBZu3BbPA+cYEw+6tJmQ9xWLI3S2IIe+An/rnGRIZO GjCxogZO/gsb0+7TMM63l/gJiOd1/aULfvzO81DK5tC+IbQoE32W6rgOvFPtU8k4mmIKopiEZ54 gOmXV3d0hB8/84SOI813bgf+2VwOdAYheqyfJ8nREobYFimQ== X-Received: by 2002:a05:600c:c167:b0:483:9139:4c1d with SMTP id 5b1f17b1804b1-488997810bcmr138229235e9.14.1775381464113; Sun, 05 Apr 2026 02:31:04 -0700 (PDT) Received: from localhost.localdomain ([2a00:f41:1c83:b0bd:2a0c:50ff:fe2f:36f4]) by smtp.gmail.com with ESMTPSA id ffacd0b85a97d-43d1e4e221bsm29156707f8f.29.2026.04.05.02.31.02 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 05 Apr 2026 02:31:03 -0700 (PDT) From: "Jose A. Perez de Azpillaga" To: linux-staging@lists.linux.dev Cc: Andy Shevchenko , Hans de Goede , Mauro Carvalho Chehab , Sakari Ailus , Greg Kroah-Hartman , linux-kernel@vger.kernel.org, linux-media@vger.kernel.org Subject: [PATCH v4 0/2] media: atomisp: clean up ISP configuration path Date: Sun, 5 Apr 2026 11:30:42 +0200 Message-ID: <20260405093051.515222-1-azpijr@gmail.com> X-Mailer: git-send-email 2.53.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 NOT TESTED, REVIEW CAREFULLY. This series cleans up technical debt in the ISP configuration path of the AtomISP driver. Resolves a long-standing FIXME by gating ref and TNR frame configuration behind the ISP feature flags that already govern their allocation, rather than unconditionally attempting to use frames that may not have been built into the pipeline, and removes a duplicate call that overwrites the same cached state with identical values. v4: - Added more information on why it is safe to remove the duplicate call. - Added link to v3. v3: - Picked up RB tag from Andy Shevchenko. - Fixed typo. (either -> neither) - Removed 'staging:' from subject lines. - Added links to previous versions. v2: - Replaced NULL checks with feature flag guards to address the root cause rather than the symptom. - Updated subject line and commit message accordingly in patch 1/2. - Expanded commit message to explain why the duplicate call is safe to remove in patch 2/2. - Updated subject line in patch 2/2. Link [v3]: https://lore.kernel.org/linux-staging/20260402183402.444630-1-azpijr@gmail.com/ Link [v2]: https://lore.kernel.org/linux-staging/20260331211649.421777-1-azpijr@gmail.com/ Link [v1]: https://lore.kernel.org/linux-staging/20260328192721.255493-1-azpijr@gmail.com/ Jose A. Perez de Azpillaga (2): media: atomisp: gate ref and tnr frame config behind ISP enable flags media: atomisp: remove redundant call to ia_css_output0_configure() drivers/staging/media/atomisp/pci/sh_css_sp.c | 41 +++++++++---------- 1 file changed, 19 insertions(+), 22 deletions(-) -- 2.53.0