From patchwork Fri Sep 24 09:02:45 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Nikita Yushchenko X-Patchwork-Id: 12514563 X-Patchwork-Delegate: kieran@bingham.xyz Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-16.8 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER,INCLUDES_PATCH, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,USER_AGENT_GIT autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 040ACC433EF for ; Fri, 24 Sep 2021 09:03:03 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id D72666124B for ; Fri, 24 Sep 2021 09:03:02 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S244801AbhIXJEf (ORCPT ); Fri, 24 Sep 2021 05:04:35 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:47510 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S244781AbhIXJEe (ORCPT ); Fri, 24 Sep 2021 05:04:34 -0400 Received: from mail-lf1-x12f.google.com (mail-lf1-x12f.google.com [IPv6:2a00:1450:4864:20::12f]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 9D2F2C061756 for ; Fri, 24 Sep 2021 02:03:01 -0700 (PDT) Received: by mail-lf1-x12f.google.com with SMTP id b20so37784850lfv.3 for ; Fri, 24 Sep 2021 02:03:01 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cogentembedded-com.20210112.gappssmtp.com; s=20210112; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=llwuQxMnfqimzNJJvFgIveLT6522ylZK2Dd9XgPpNOs=; b=voXNnwR32rEsIYJzAi81MedAUopUk+yolmiw1vzuy5IjDyfqTLyqzMNftv+57FOd/+ TuscLfoKLwbzeFU6coohOl2y2+4nEbZtVrzVOfsd9gmNRPW+MhmfmgpnwwycjJ0YEWso bZcH2Cnm4fXGMa9bgXLs9DXVDjLvrsT/LiWdVzLMTKSxzpqeCZStWTFOuUaBPmonzDwP b581pQ4FaQfA4BOVF5oxP9wHVKTn5UDthUFSfudLBTAjLJUFqnRgkcSKC2nZqMbpyJ7E TjnBJ2kDImn/CFj0UJezzp4TmnB86FQdcbkpwv3OU2rgKKjiJlwWfEwks22KEau6E38P n0eg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=llwuQxMnfqimzNJJvFgIveLT6522ylZK2Dd9XgPpNOs=; b=JketztEIvARombgKxCu6qL8T8rag+SqsgDI6oqBgLVZm0DvDAe/9wtkG50+kJpep4k 7JmrfH06YZdpvIsBW49ULs8xw8eFzG/i27oOTafe21Xe+32BC1nKg/mcx3DsHUtl4rO9 dez8yJURTNGLWlnlMnIfmR9A8Ob3kwgTXI5NVFLNWU84zwkb2RQebSE2fI1xecjogIQi kRWsovm3W/oVjxhAK62DE31/G98Qq9z4Hkqm6bA2hOJeN9/exXhi0VyhpYbHRs8RrQYG sYs7hcTuLZ8BHloukf0R5f9MuMhXI7Dh2aer+FZu6VTWPY1og17OG2ROubPVrLdI2tG5 j7PQ== X-Gm-Message-State: AOAM533+Z2D2EouXr6sWj7QcTsQzYjSEocy2rl1cpQ+4BwEBpc5iZiTg XxxxPJnBnt6Bqfenl7EznENfuw== X-Google-Smtp-Source: ABdhPJxCYyMKdaffGxCHyszJqKodq6Upo7VtTwjbiOpw/Im9sn5dk9YHQ1eOSUgqX25G0ah5uvfV1g== X-Received: by 2002:a05:651c:211a:: with SMTP id a26mr9933964ljq.305.1632474180010; Fri, 24 Sep 2021 02:03:00 -0700 (PDT) Received: from cobook.home (nikaet.starlink.ru. [94.141.168.29]) by smtp.gmail.com with ESMTPSA id d19sm689572lfa.252.2021.09.24.02.02.58 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 24 Sep 2021 02:02:59 -0700 (PDT) From: Nikita Yushchenko To: =?utf-8?q?Niklas_S=C3=B6derlund?= , Mauro Carvalho Chehab , Rob Herring , Sergei Shtylyov , Hans Verkuil Cc: linux-media@vger.kernel.org, linux-renesas-soc@vger.kernel.org, linux-kernel@vger.kernel.org, Vladimir Barinov , Nikita Yushchenko Subject: [PATCH] media: rcar-csi2: fix R8A77980 support Date: Fri, 24 Sep 2021 12:02:45 +0300 Message-Id: <20210924090244.3459-1-nikita.yoush@cogentembedded.com> X-Mailer: git-send-email 2.30.2 MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-renesas-soc@vger.kernel.org From: Vladimir Barinov Add missing initialization of num_channels field. Fixes: 3ba37c2bcb0c ("media: rcar-csi2: add R8A77980 support") Signed-off-by: Vladimir Barinov Signed-off-by: Nikita Yushchenko Nacked-by: Niklas Söderlund --- drivers/media/platform/rcar-vin/rcar-csi2.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/media/platform/rcar-vin/rcar-csi2.c b/drivers/media/platform/rcar-vin/rcar-csi2.c index e28eff039688..f4d3c6dead30 100644 --- a/drivers/media/platform/rcar-vin/rcar-csi2.c +++ b/drivers/media/platform/rcar-vin/rcar-csi2.c @@ -1146,6 +1146,7 @@ static const struct rcar_csi2_info rcar_csi2_info_r8a77980 = { .init_phtw = rcsi2_init_phtw_h3_v3h_m3n, .hsfreqrange = hsfreqrange_h3_v3h_m3n, .csi0clkfreqrange = 0x20, + .num_channels = 4, .clear_ulps = true, };