Received: by 2002:ab2:6857:0:b0:1ef:ffd0:ce49 with SMTP id l23csp2387541lqp; Sun, 24 Mar 2024 17:11:15 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCWxQVv4a+jquIbGon0p2uEyDtcLtDK4wdubDFS5Bi/5/I8uMylKivwYzoN1Iz19Kvm6hRtlK8W0Gp00G7vSoGjUn8RC22TrL2aouYL7VA== X-Google-Smtp-Source: AGHT+IEW1yr8vA8cHkbKxNZZgqBC0TNnGIBZOgFfWPJSLteae8LXpAoA+b4IzDxMm6Nu3d/rgD50 X-Received: by 2002:a17:906:f10a:b0:a46:bbc9:a8c7 with SMTP id gv10-20020a170906f10a00b00a46bbc9a8c7mr3376938ejb.71.1711325475544; Sun, 24 Mar 2024 17:11:15 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1711325475; cv=pass; d=google.com; s=arc-20160816; b=COU48m/OonO5nfISrcf0YEpqKAkwTsSxkyfYEaKn+1BdPlOEbdDJGxuP3tzxKE6k3I fSd/nqQZXCet4nXpGKWoVu5Tv1YloLASXs88K7GRoI+DY/3QW6hAnCzmvHK5b4KaatMz ws1eXV6ehpI07b3y9WfZc53xuKeGPcUzkG4+O0XTdtZEi1UIMVZqdhrsVO0Gg0/6oWr9 btPcgm7JfgdXB7XPkvi2ZmW47L1DyEy5nYllwnVw5PPKMMzGOynwwLeFYhvisSQjorjo VN+qrs5ejGaWtZaHfwS6useVYax70xhETHpJrQ0Juu5V4mM8MDUw5+9VXi8RZpV0BHJA pkfQ== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:in-reply-to:message-id :date:subject:cc:to:from:dkim-signature; bh=uXlp4wUrVhP4oI3qLx2dpIcgBdgkOvZR1zSqG6XPJF0=; fh=usNFN7PGdHVX8VIiOctFExXXlz9jnfqIVOkMpzoIRF8=; b=G40yi1tEmaMXx+vbQgT0fpsGzbKsBWgeSrKWcupnE2SPc4/xNRQc2LkA8/vQqmcgPo w29GipuN2KP9fv09IRoqn9MRb091jAS+jy0WbiGR0N7od9YJ/xZqnX0pHcEsuDxVab7b end4vQGG68ggCV13ST9jqAY6bklYSnZOwJcgvg5DZtpCtDVjmT+O6wqhxrakUOTfYT7V h7CIv7WUZu9szLS38aqjFkFGigjDsgaL3MDRBcWaPf07omiiM4BWYNWqY93awL3Dl7Ev LpMRL1J4e8QY7xHCTOEfteA0HlDF8+cFdmpOviSpHcBswZ7kWi+SJvXIEMm5COG6VKmA qzZg==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=cUNoVPMT; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-113328-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-113328-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [147.75.80.249]) by mx.google.com with ESMTPS id p15-20020a17090628cf00b00a47514f3611si973071ejd.973.2024.03.24.17.11.15 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 24 Mar 2024 17:11:15 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-113328-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) client-ip=147.75.80.249; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=cUNoVPMT; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-113328-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-113328-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by am.mirrors.kernel.org (Postfix) with ESMTPS id 997BF1F22AB6 for ; Mon, 25 Mar 2024 00:10:50 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id A2321195FC9; Sun, 24 Mar 2024 22:42:10 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="cUNoVPMT" 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 B33821959AD; Sun, 24 Mar 2024 22:42:09 +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=1711320129; cv=none; b=HgHSLfmfIjlmnYBfID+iHho0kzsknVHiaHa0NDLlWi8IGxQeyP2RSAgA38l4gjub6i7CsR5VFILd+wEsVvXEf6etiPVBicpsuwKxczjOMlARqHCa5mEmHJyByomW2Kz1iBCSz6m7g71yG3rSaMcZ1tof82Q1yOGS6P4TuT/ulLE= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1711320129; c=relaxed/simple; bh=8J2VO8R09ZLCYY05FLmoDdK50R8Wf5+5OrJMHEcST8w=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=b2XKbiBNmV3JAuOoSyRxEfFF7jdvlBZvkvHIn8KtkoRfn31xBLREjqXgf1MOuXkGNW+oF0Oy6SG00LQTBm0tDjOsE5eadCH4vu8ZI0GsYLTe3RRG/Hh5DdEMUtSdSmmP9XROjgRm6/wR45gBokvEbKaM0JVf/0ckge2LAbQ50U4= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=cUNoVPMT; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id F2B97C433C7; Sun, 24 Mar 2024 22:42:08 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1711320129; bh=8J2VO8R09ZLCYY05FLmoDdK50R8Wf5+5OrJMHEcST8w=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=cUNoVPMT5vk+46JIMPirzWq3as8qhzIfq7mLv5cyYeN0lLw65FCRQX4qXfbluMkMO dV1dbsnjN/XxKjs5LIGcsu8K9MIrXf+YiwGvIX92Nl0ZNmATySVscTCJdiOk4mnFrt Fg5EHKxgTnB4rlTtEnV8b6h2wahuaYDEVePF0oN7KvuZ/qbQCaAllHKpEvtkz5+3gK PP0B5EFsw0K/MN1LS5CcGS92qH41S3gj+SxD2DIxSnX990K1qyD277pLDS6GRI8pv9 Tmj3I8LZOJMMAhTgAv70Afg/HeaZsKq/0HBw70jGsxYj/3GdQ+XxQo3TqiMFExVbiG wpwClVBVz9b9g== From: Sasha Levin To: linux-kernel@vger.kernel.org, stable@vger.kernel.org Cc: Changhuang Liang , Hans Verkuil , Sasha Levin Subject: [PATCH 6.8 437/715] staging: media: starfive: Set 16 bpp for capture_raw device Date: Sun, 24 Mar 2024 18:30:16 -0400 Message-ID: <20240324223455.1342824-438-sashal@kernel.org> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20240324223455.1342824-1-sashal@kernel.org> References: <20240324223455.1342824-1-sashal@kernel.org> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-stable: review X-Patchwork-Hint: Ignore Content-Transfer-Encoding: 8bit From: Changhuang Liang [ Upstream commit a38cd27c9ee8c25308b71ea16393d0c231e9bde4 ] For StarFive JH7110 Camera Subsystem, capture_raw video device output raw10 pixelformat requires 16bit of alignment. Fixes: e080f339c80a ("media: staging: media: starfive: camss: Add capture driver") Signed-off-by: Changhuang Liang Signed-off-by: Hans Verkuil Signed-off-by: Sasha Levin --- drivers/staging/media/starfive/camss/stf-capture.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/drivers/staging/media/starfive/camss/stf-capture.c b/drivers/staging/media/starfive/camss/stf-capture.c index 70c24b050a1b5..ec5169e7b3918 100644 --- a/drivers/staging/media/starfive/camss/stf-capture.c +++ b/drivers/staging/media/starfive/camss/stf-capture.c @@ -20,28 +20,28 @@ static const struct stfcamss_format_info stf_wr_fmts[] = { .pixelformat = V4L2_PIX_FMT_SRGGB10, .planes = 1, .vsub = { 1 }, - .bpp = 10, + .bpp = 16, }, { .code = MEDIA_BUS_FMT_SGRBG10_1X10, .pixelformat = V4L2_PIX_FMT_SGRBG10, .planes = 1, .vsub = { 1 }, - .bpp = 10, + .bpp = 16, }, { .code = MEDIA_BUS_FMT_SGBRG10_1X10, .pixelformat = V4L2_PIX_FMT_SGBRG10, .planes = 1, .vsub = { 1 }, - .bpp = 10, + .bpp = 16, }, { .code = MEDIA_BUS_FMT_SBGGR10_1X10, .pixelformat = V4L2_PIX_FMT_SBGGR10, .planes = 1, .vsub = { 1 }, - .bpp = 10, + .bpp = 16, }, }; -- 2.43.0