lkml.org 
[lkml]   [2022]   [Aug]   [15]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    Patch in this message
    /
    From
    Subject[PATCH 5.18 0360/1095] media: rcar-vin: Fix channel routing for Ebisu
    Date
    From: Niklas Söderlund <niklas.soderlund+renesas@ragnatech.se>

    [ Upstream commit 5b9b598453d3ae5fa66d7ab591008373a89b91a0 ]

    When converting to full Virtual Channel routing an error crept into the
    routing table for Ebisu (r8a77990). The routing information is used at
    probe time preventing rcar-vin from probing correctly on this SoC, solve
    by correcting the routing table.

    Fixes: 3e52419ec04f9769 ("media: rcar-{csi2,vin}: Move to full Virtual Channel routing per CSI-2 IP")
    Reported-by: Geert Uytterhoeven <geert+renesas@glider.be>
    Signed-off-by: Niklas Söderlund <niklas.soderlund+renesas@ragnatech.se>
    Tested-by: Geert Uytterhoeven <geert+renesas@glider.be>
    Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
    Signed-off-by: Mauro Carvalho Chehab <mchehab@kernel.org>
    Signed-off-by: Sasha Levin <sashal@kernel.org>
    ---
    drivers/media/platform/renesas/rcar-vin/rcar-core.c | 2 +-
    1 file changed, 1 insertion(+), 1 deletion(-)

    diff --git a/drivers/media/platform/renesas/rcar-vin/rcar-core.c b/drivers/media/platform/renesas/rcar-vin/rcar-core.c
    index 64cb05b3907c..ed3ddf36f906 100644
    --- a/drivers/media/platform/renesas/rcar-vin/rcar-core.c
    +++ b/drivers/media/platform/renesas/rcar-vin/rcar-core.c
    @@ -1264,7 +1264,7 @@ static const struct rvin_info rcar_info_r8a77980 = {
    };

    static const struct rvin_group_route rcar_info_r8a77990_routes[] = {
    - { .master = 0, .csi = RVIN_CSI40, .chsel = 0x03 },
    + { .master = 4, .csi = RVIN_CSI40, .chsel = 0x03 },
    { /* Sentinel */ }
    };

    --
    2.35.1


    \
     
     \ /
      Last update: 2022-08-15 23:01    [W:3.443 / U:0.776 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site