Received: by 2002:ac0:a5a7:0:0:0:0:0 with SMTP id m36-v6csp2007695imm; Sat, 18 Aug 2018 08:59:01 -0700 (PDT) X-Google-Smtp-Source: AA+uWPzg38Bce37XK5ISdKVRCI7TCot3mOM+Wmo4PUwRNHilUp4v6DxVmtCBxDaprRabAObK3R7J X-Received: by 2002:a17:902:227:: with SMTP id 36-v6mr38798923plc.103.1534607941362; Sat, 18 Aug 2018 08:59:01 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1534607941; cv=none; d=google.com; s=arc-20160816; b=w8PfjFr3gJOo2I4VdGxF3GpookyFKUMt2A/yf1UIZRXCjuJUBGUSwkV8Kc0Gl9No+m Yc/qIOcVtcOoG2Jb1X1XQ/bS6TkVJYllqEAjJlgWrCxd7/rZR05n/MpKmyRsZxsJC5dE U1Mo47qzxvVwbfH9TkvH0Uw/RiGuU/+kWR4JvH0pZnScjJ6KOqjlf/Yb0DveWYvRUoAF QQZn0G0vp4pQ4uhRosQx7M9TWUIYwQ3xuHj8zLMJu2nk4oXjF8DGjYdcJqCiN9/aSTkQ kOHP2JFqTrF8OkJ9GW4dpq8X5O/q4knSunrkPj5bRdPvAhnMUcw6arIBCeF6+O8dpmhZ Yigg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:references:in-reply-to:message-id:date :subject:cc:to:from:dkim-signature:arc-authentication-results; bh=jla53Xxy8OfetyMufRWhRIiyiCxNIjcbctC1Xlzd4OI=; b=K3MSWg9L4DyoT6XRMJKhBwiP7EjnSTnQp6IBHSmNm321fsJz+FVmfmYKS9sC6y/6p8 PYGq+ocf298QINwC2ze4UCfAnIGudYu0prhWRh+4z3DaCW9x+xws8TXIs6OgOaQ5SSIX WJbPNaJeRmO4w5B8neXs3OV/wpZYP31RjNwvQ0cY3uKrsVU4FIzc2Aj4ee9YvY/6I5nU 6vYEwdVk0L6ETq681uUToZ8L9m1RqIavcwNKWLk0z8WcEBF6bKdECawtMgY/7ICZxuzJ 4KbGppwK+KdinfskUMIX9pspMGg4z/6dj3e5q6g3wa+PccEyV5vX0uDR3vGVr+Zsy0bD aDNg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=AKVGIWhF; 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=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id k13-v6si4841194pgh.213.2018.08.18.08.58.45; Sat, 18 Aug 2018 08:59:01 -0700 (PDT) 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=@gmail.com header.s=20161025 header.b=AKVGIWhF; 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=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726658AbeHRTD6 (ORCPT + 99 others); Sat, 18 Aug 2018 15:03:58 -0400 Received: from mail-ed1-f67.google.com ([209.85.208.67]:33963 "EHLO mail-ed1-f67.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726557AbeHRTD5 (ORCPT ); Sat, 18 Aug 2018 15:03:57 -0400 Received: by mail-ed1-f67.google.com with SMTP id h1-v6so6121315eds.1; Sat, 18 Aug 2018 08:55:47 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=jla53Xxy8OfetyMufRWhRIiyiCxNIjcbctC1Xlzd4OI=; b=AKVGIWhF3jgmHG+mAtyhWOoMh0fOOLW8gF+6kRaNTfEL4SI9+/hwZ3uVwI5arrSCiq PVVl1SrB6/IFumVxsMdfB4XO1snl5F9XtVPvmBxRnuU41kuMJ1RRWG46Q/8aRK+C56NP Kc9EFd757phkEwBvNF78wDST2fCNLEIErDPfx7PZ+hCc88bitAgUA7BFWy5Fkw9AZBSX rY6JFMNBedYJ52k6hF07jvBLYx7fm9IwhNDR1/7GMIxx4ce5k6HgWUoKIphdIjctwWdm e2GNnxJWzlGqtrbFzs+COeXndtiauL/WwgU2cGw3r2mGGQQESzRaEUkFg/x8C9aWklij n39g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=jla53Xxy8OfetyMufRWhRIiyiCxNIjcbctC1Xlzd4OI=; b=dWa/6u/HDmlv9ZTBsz0YMET+R1hgsD7q7DPhR4EZGKBjeRq6kbWxcqDIdtJ4CDuPob XkM63VQzETtp07RILZe4/9nrnaV3ETawRJ4Y9PI5KMQ/3wnTFe5vc9xD9p/8eiKbkP6a 0++BE3g5QaQULekH+A8Msjm5Rv1ERANbXGt1tnPFICrPYNcBIxq+tAcsmKfO1TOt72aX Bn9JAcuXwBM3KHuknZeS41KLrY8L1o0GB+CtCD5uPFpk+r/TMXVIgMv+FsamerxPiaFQ G1JLXag/BJ4E+WFScn5YS2GExfmNj6omGoyP5mubFUT3OT/aYzJ6XIx+M12cahZxjfvJ o72w== X-Gm-Message-State: AOUpUlEfWkD/EjimW2EWvIag3Kx5I5/gNRd8Wuo+vEIZA3J5czkaSbFv voIlx4cnD1LSOQjRoX5h9tU= X-Received: by 2002:a50:8f05:: with SMTP id 5-v6mr46624728edy.192.1534607746623; Sat, 18 Aug 2018 08:55:46 -0700 (PDT) Received: from localhost.localdomain (109-252-90-13.nat.spd-mgts.ru. [109.252.90.13]) by smtp.gmail.com with ESMTPSA id v8-v6sm2784014edr.48.2018.08.18.08.55.45 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sat, 18 Aug 2018 08:55:46 -0700 (PDT) From: Dmitry Osipenko To: Joerg Roedel , Robin Murphy , Thierry Reding , Jonathan Hunter , Rob Herring Cc: iommu@lists.linux-foundation.org, devicetree@vger.kernel.org, linux-tegra@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH v3 08/19] memory: tegra: Don't invoke Tegra30+ specific memory timing setup on Tegra20 Date: Sat, 18 Aug 2018 18:54:19 +0300 Message-Id: <20180818155430.5586-9-digetx@gmail.com> X-Mailer: git-send-email 2.18.0 In-Reply-To: <20180818155430.5586-1-digetx@gmail.com> References: <20180818155430.5586-1-digetx@gmail.com> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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 Acked-by: Jon Hunter --- 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 bd25faf6d13d..e56862495f36 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.18.0