From patchwork Tue Oct 20 19:36:09 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sowjanya Komatineni X-Patchwork-Id: 11847727 Return-Path: Received: from mail.kernel.org (pdx-korg-mail-1.web.codeaurora.org [172.30.200.123]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id BD39A61C for ; Tue, 20 Oct 2020 19:36:26 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 9528022265 for ; Tue, 20 Oct 2020 19:36:26 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=nvidia.com header.i=@nvidia.com header.b="jlFILpP0" Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2438268AbgJTTgI (ORCPT ); Tue, 20 Oct 2020 15:36:08 -0400 Received: from hqnvemgate26.nvidia.com ([216.228.121.65]:9835 "EHLO hqnvemgate26.nvidia.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2438154AbgJTTfa (ORCPT ); Tue, 20 Oct 2020 15:35:30 -0400 Received: from hqmail.nvidia.com (Not Verified[216.228.121.13]) by hqnvemgate26.nvidia.com (using TLS: TLSv1.2, AES256-SHA) id ; Tue, 20 Oct 2020 12:35:17 -0700 Received: from HQMAIL107.nvidia.com (172.20.187.13) by HQMAIL109.nvidia.com (172.20.187.15) with Microsoft SMTP Server (TLS) id 15.0.1473.3; Tue, 20 Oct 2020 19:35:29 +0000 Received: from skomatineni-linux.nvidia.com (172.20.13.39) by mail.nvidia.com (172.20.187.13) with Microsoft SMTP Server id 15.0.1473.3 via Frontend Transport; Tue, 20 Oct 2020 19:35:29 +0000 From: Sowjanya Komatineni To: , , , CC: , , , Subject: [PATCH v1 3/9] media: tegra-video: Fix V4L2 pixel format for RGB888_1X24 Date: Tue, 20 Oct 2020 12:36:09 -0700 Message-ID: <1603222575-14427-4-git-send-email-skomatineni@nvidia.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1603222575-14427-1-git-send-email-skomatineni@nvidia.com> References: <1603222575-14427-1-git-send-email-skomatineni@nvidia.com> X-NVConfidentiality: public MIME-Version: 1.0 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nvidia.com; s=n1; t=1603222517; bh=oZ0OoYopq5ZTtCF6PxH3Qip/gBKrvsKPMfv55eO/rZY=; h=From:To:CC:Subject:Date:Message-ID:X-Mailer:In-Reply-To: References:X-NVConfidentiality:MIME-Version:Content-Type; b=jlFILpP08XcfUlTe2PMBGOIAIn6APU7tfDkaJaQjOu8Xenhb0K+a5kBC/snLxlXJ9 2T1GAj52hvglXH1WkEBCGI2VCW2SZvklcLtAS0o7+OGIUTvbyRLX5qacob6LwiRDah fdpTaFKEerxwaKTm7Iz3cUhOSO5YdiX1xfIX6AQtZoa+USKQPpk9MJGtdScewi3l3G PLBVMPWVpD7gFjVzgXM0jV/x1NcT5FF7bDAkAheJIGADj4r/2TIi9wbaFD5we23INz XcCiFYh5jXoIkHMQUchsildGptSQfYfOa3WFdRqwXGofGlZTmHoy+qm5Dh2EFsPvRB XZvMy7T8W0e+g== Precedence: bulk List-ID: X-Mailing-List: linux-media@vger.kernel.org V4L2 pixel format is incorrect for RGB888_1X24. This patch fixes it. Signed-off-by: Sowjanya Komatineni --- drivers/staging/media/tegra-video/tegra210.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/staging/media/tegra-video/tegra210.c b/drivers/staging/media/tegra-video/tegra210.c index 6b23aa7..c883925 100644 --- a/drivers/staging/media/tegra-video/tegra210.c +++ b/drivers/staging/media/tegra-video/tegra210.c @@ -619,7 +619,7 @@ static const struct tegra_video_format tegra210_video_formats[] = { TEGRA210_VIDEO_FMT(RAW12, 12, SGBRG12_1X12, 2, T_R16_I, SGBRG12), TEGRA210_VIDEO_FMT(RAW12, 12, SBGGR12_1X12, 2, T_R16_I, SBGGR12), /* RGB888 */ - TEGRA210_VIDEO_FMT(RGB888, 24, RGB888_1X24, 4, T_A8R8G8B8, RGB24), + TEGRA210_VIDEO_FMT(RGB888, 24, RGB888_1X24, 4, T_A8R8G8B8, XRGB32), TEGRA210_VIDEO_FMT(RGB888, 24, RGB888_1X32_PADHI, 4, T_A8B8G8R8, XBGR32), /* YUV422 */