Received: by 2002:a25:8b91:0:0:0:0:0 with SMTP id j17csp2836572ybl; Sun, 2 Feb 2020 07:52:11 -0800 (PST) X-Google-Smtp-Source: APXvYqzScwwlfTmIF7+AbS0GgXGzokiUosWSavLjZk+4kMoxybI7uiW11r9lXMI5naRaGhywrDNb X-Received: by 2002:a9d:12cf:: with SMTP id g73mr13920178otg.329.1580658730979; Sun, 02 Feb 2020 07:52:10 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1580658730; cv=none; d=google.com; s=arc-20160816; b=cAnTogSknCuTu3aDojrjV0iRrnante8U9sgEmY4wRtjenG/whZv/8/6ErwQFjbBHOF n+SQyfgboqrmrW0aQzZ8VfWyXTydgmghtqvNGwEhwLFbNIB8n4q/yRJKqVOn3/7R4M1C W2+DiDoJRhKsIoTKVXG5V+16vLz+SloBU7/rLxr4vcb1W/vQwnXa4LJ/qZp+XZQvncKV Ilu793w/WaedvoC2qT3mUX2ylob9Ue+n+pvYWakbActGv5ffFdUoiCPqJQXZv6nzxGIW gpeH7FKMh9AJ7FfMyDkkOJoaMoIcSEVvu/DId0w6/AH883QfwkrBhV9puchUHGQRtmrY gCpQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :feedback-id:references:in-reply-to:message-id:subject:reply-to:cc :from:to:dkim-signature:date; bh=zW6Svbt5NnA5y5wS8kTvIgyaL51d8CkmvjMU7/bynj8=; b=tMMAusaxSqNfez9rBJJaKHiCag53RHji1St1P0ezpoPpc8PL/nbX7GC45J/BSGzL2I 8zCnLGj8JlP/VaXm9UJmNgi6vvgNucR4ep3hQSMIkTvmFvHbuHhWVciARBAc1rdtAk8m cfZjKL18ZgQkek3fBRthKbdEvp8gvGSExhQNntY3V17niXZ0g9TYd+xJ8S2TLa/s+Uxr AO1aPfgNPW5oxNN20+W9nf+VNBfGbhsjR+96QSaiK5A0PQjYgBkkF+UyIseqXgxjKDdr p0TbRatLk4zNoLPZggfoMsKDfH5zb6XxtgQnRca9tdb6Z60Wlkxconw9ABVmQtRxV2Eg R9Dw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@protonmail.com header.s=default header.b=Xxm6BKKn; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=protonmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id g26si5489741otl.172.2020.02.02.07.51.59; Sun, 02 Feb 2020 07:52:10 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@protonmail.com header.s=default header.b=Xxm6BKKn; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=protonmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727134AbgBBPuv (ORCPT + 99 others); Sun, 2 Feb 2020 10:50:51 -0500 Received: from mail2.protonmail.ch ([185.70.40.22]:11801 "EHLO mail2.protonmail.ch" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726881AbgBBPuv (ORCPT ); Sun, 2 Feb 2020 10:50:51 -0500 Date: Sun, 02 Feb 2020 15:50:42 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=protonmail.com; s=default; t=1580658649; bh=zW6Svbt5NnA5y5wS8kTvIgyaL51d8CkmvjMU7/bynj8=; h=Date:To:From:Cc:Reply-To:Subject:In-Reply-To:References: Feedback-ID:From; b=Xxm6BKKnOQVIA6ZIVgLDrqD0Nvpz3FfUy+5UCbJ88JgDtT0EqMdi2fopJb5LYWxgx U4dE6cffhaQn+ea6YMF6o755OwZZe238gWMe4TG9O2dfyg1+kUyHtr/exOPpFsdBJr RG1TPErAcFpAsGCd/LCkVggf+v0SqBep07FLjUJ8= To: linux-media@vger.kernel.org From: =?UTF-8?Q?N=C3=ADcolas_F=2E_R=2E_A=2E_Prado?= Cc: Helen Koike , Shuah Khan , Mauro Carvalho Chehab , Hans Verkuil , linux-kernel@vger.kernel.org, lkcamp@lists.libreplanetbr.org Reply-To: =?UTF-8?Q?N=C3=ADcolas_F=2E_R=2E_A=2E_Prado?= Subject: [PATCH 2/3] media: vimc: Add GBR media bus code Message-ID: <20200202155019.1029993-3-nfraprado@protonmail.com> In-Reply-To: <20200202155019.1029993-1-nfraprado@protonmail.com> References: <20200202155019.1029993-1-nfraprado@protonmail.com> Feedback-ID: cwTKJQq-dqva77NrgNeIaWzOvcDQqfI9VSy7DoyJdvgY6-nEE7fD-E-3GiKFHexW4OBWbzutmMZN6q4SflMDRw==:Ext:ProtonMail MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Spam-Status: No, score=-1.2 required=7.0 tests=ALL_TRUSTED,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_FROM shortcircuit=no autolearn=ham autolearn_force=no version=3.4.2 X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on mail.protonmail.ch Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Add missing GBR888_1X24 media bus code in the vimc_pix_map_list. Since there is no pixel format for it, use the pixelformat for RGB. Co-developed-by: Vitor Massaru Iha Signed-off-by: Vitor Massaru Iha Signed-off-by: N=C3=ADcolas F. R. A. Prado --- drivers/media/platform/vimc/vimc-common.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/media/platform/vimc/vimc-common.c b/drivers/media/plat= form/vimc/vimc-common.c index 55797e5ab2b1..591a50f63766 100644 --- a/drivers/media/platform/vimc/vimc-common.c +++ b/drivers/media/platform/vimc/vimc-common.c @@ -25,7 +25,7 @@ static const struct vimc_pix_map vimc_pix_map_list[] =3D = { =09=09.bayer =3D false, =09}, =09{ -=09=09.code =3D {MEDIA_BUS_FMT_RGB888_1X24}, +=09=09.code =3D {MEDIA_BUS_FMT_RGB888_1X24, MEDIA_BUS_FMT_GBR888_1X24}, =09=09.pixelformat =3D V4L2_PIX_FMT_RGB24, =09=09.bpp =3D 3, =09=09.bayer =3D false, --=20 2.25.0