Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 6396213B7AE; Sun, 1 Mar 2026 01:20:52 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1772328052; cv=none; b=gw3qZRryegcOBjtJI5tBK5/jYi7SKcgKlJmHbXgz8YNtaqliN3R5hGCks1v2c4r/DsURxqvsj/sXrhaV8kgsTJIftwqGg9iKKcnchi+N53kMqLkMmRrkIJ3y97/0g6nkrWvEe3hpCY291/nsuIGo0JpGRA29utyoX25X1M4oXDo= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1772328052; c=relaxed/simple; bh=rUhyWezo+roiLz/2fbUyPbWleJsDLzBiGXGaf89cYyQ=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=KwDnm1WsDDy4TrzqK1AKuTRlggJHYF8MeKUWzVQzteRoRZV82S/M2UwLzH6gc6GaHouWjMH1L68H/mwytg3vvslg/B0Y3RTySXcBnCQcZQC1pNEUJerE1MbfmcqcEfABp9GgmGtiQQ+AGJHZTW9sRxSFkKsIT+/x7/F93rE2KL4= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=BW2uD++Y; arc=none smtp.client-ip=10.30.226.201 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="BW2uD++Y" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 898D5C19421; Sun, 1 Mar 2026 01:20:51 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1772328052; bh=rUhyWezo+roiLz/2fbUyPbWleJsDLzBiGXGaf89cYyQ=; h=From:To:Cc:Subject:Date:From; b=BW2uD++Yvq6LZvxGxlkq5OGZd0NsEFRGPDZX5mBH000/IEMjwu2I8zsq9u2FDTyqu E4v5Y7NsbBOuWOMvmHQSxFrLEEaU67DpPMsL7aV2PFCj8lh7Jh6u5+/8rGVJ/OgNog xVqHcQ1DP8pKWaEhAwbKQNJ7fMuahOE1K1sy98x+EdEJ/ZBv2gVObxfBxQvCKxQno+ BTOtnTTGc4ATCD1pjIszwuB+as4du82W5RJ2J86/WwogTAuBFW1u2F1FGu4LrBmqQq Ac54Q/BR0KsvJ1eu0+GLFYPJ6SnAW+W32cHYLeVh/Q7Z5cqSrHV9QHC7SqX8rywu1Z PcO0scu/0XdpQ== From: Sasha Levin To: stable@vger.kernel.org, david.plowman@raspberrypi.com Cc: Jacopo Mondi , Jai Luthra , Sakari Ailus , Hans Verkuil , linux-media@vger.kernel.org Subject: FAILED: Patch "media: i2c: ov5647: Sensor should report RAW color space" failed to apply to 6.12-stable tree Date: Sat, 28 Feb 2026 20:20:50 -0500 Message-ID: <20260301012050.1676530-1-sashal@kernel.org> X-Mailer: git-send-email 2.51.0 Precedence: bulk X-Mailing-List: linux-media@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-Patchwork-Hint: ignore X-stable: review Content-Transfer-Encoding: 8bit The patch below does not apply to the 6.12-stable tree. If someone wants it applied there, or to any other stable or longterm tree, then please email the backport, including the original git commit id to . Thanks, Sasha ------------------ original commit in Linus's tree ------------------ From f007586b1e89dcea40168415d0422cb7a0fc31b1 Mon Sep 17 00:00:00 2001 From: David Plowman Date: Mon, 22 Dec 2025 13:45:28 +0530 Subject: [PATCH] media: i2c: ov5647: Sensor should report RAW color space As this sensor captures RAW bayer frames, the colorspace should be V4L2_COLORSPACE_RAW instead of SRGB. Fixes: a8df5af695a1 ("media: ov5647: Add SGGBR10_1X10 modes") Cc: stable@vger.kernel.org Signed-off-by: David Plowman Reviewed-by: Jacopo Mondi Signed-off-by: Jai Luthra Signed-off-by: Sakari Ailus Signed-off-by: Hans Verkuil --- drivers/media/i2c/ov5647.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/drivers/media/i2c/ov5647.c b/drivers/media/i2c/ov5647.c index 191954497e3db..c0f1121b025e5 100644 --- a/drivers/media/i2c/ov5647.c +++ b/drivers/media/i2c/ov5647.c @@ -508,7 +508,7 @@ static const struct ov5647_mode ov5647_modes[] = { { .format = { .code = MEDIA_BUS_FMT_SBGGR10_1X10, - .colorspace = V4L2_COLORSPACE_SRGB, + .colorspace = V4L2_COLORSPACE_RAW, .field = V4L2_FIELD_NONE, .width = 2592, .height = 1944 @@ -529,7 +529,7 @@ static const struct ov5647_mode ov5647_modes[] = { { .format = { .code = MEDIA_BUS_FMT_SBGGR10_1X10, - .colorspace = V4L2_COLORSPACE_SRGB, + .colorspace = V4L2_COLORSPACE_RAW, .field = V4L2_FIELD_NONE, .width = 1920, .height = 1080 @@ -550,7 +550,7 @@ static const struct ov5647_mode ov5647_modes[] = { { .format = { .code = MEDIA_BUS_FMT_SBGGR10_1X10, - .colorspace = V4L2_COLORSPACE_SRGB, + .colorspace = V4L2_COLORSPACE_RAW, .field = V4L2_FIELD_NONE, .width = 1296, .height = 972 @@ -571,7 +571,7 @@ static const struct ov5647_mode ov5647_modes[] = { { .format = { .code = MEDIA_BUS_FMT_SBGGR10_1X10, - .colorspace = V4L2_COLORSPACE_SRGB, + .colorspace = V4L2_COLORSPACE_RAW, .field = V4L2_FIELD_NONE, .width = 640, .height = 480 -- 2.51.0