lkml.org 
[lkml]   [2020]   [Jan]   [24]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    Patch in this message
    /
    From
    Subject[PATCH 4.19 132/639] memory: tegra: Dont invoke Tegra30+ specific memory timing setup on Tegra20
    Date
    From: Dmitry Osipenko <digetx@gmail.com>

    [ Upstream commit be4dbdec2bab8635c7a41573668624ee13d83022 ]

    This fixes irrelevant "tegra-mc 7000f000.memory-controller: no memory
    timings for RAM code 0 registered" warning message during of kernels
    boot-up on Tegra20.

    Fixes: a8d502fd3348 ("memory: tegra: Squash tegra20-mc into common tegra-mc driver")
    Signed-off-by: Dmitry Osipenko <digetx@gmail.com>
    Acked-by: Jon Hunter <jonathanh@nvidia.com>
    Acked-by: Thierry Reding <treding@nvidia.com>
    Signed-off-by: Joerg Roedel <jroedel@suse.de>
    Signed-off-by: Sasha Levin <sashal@kernel.org>
    ---
    drivers/memory/tegra/mc.c | 11 ++++++-----
    1 file changed, 6 insertions(+), 5 deletions(-)

    diff --git a/drivers/memory/tegra/mc.c b/drivers/memory/tegra/mc.c
    index c8f16666256cc..346d8eadb44b1 100644
    --- a/drivers/memory/tegra/mc.c
    +++ b/drivers/memory/tegra/mc.c
    @@ -664,12 +664,13 @@ static int tegra_mc_probe(struct platform_device *pdev)
    }

    isr = tegra_mc_irq;
    - }

    - err = tegra_mc_setup_timings(mc);
    - if (err < 0) {
    - dev_err(&pdev->dev, "failed to setup timings: %d\n", err);
    - return err;
    + err = tegra_mc_setup_timings(mc);
    + if (err < 0) {
    + dev_err(&pdev->dev, "failed to setup timings: %d\n",
    + err);
    + return err;
    + }
    }

    mc->irq = platform_get_irq(pdev, 0);
    --
    2.20.1


    \
     
     \ /
      Last update: 2020-01-24 12:07    [W:4.044 / U:2.496 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site