Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp3387455imu; Mon, 28 Jan 2019 04:06:10 -0800 (PST) X-Google-Smtp-Source: ALg8bN4w0ZAb3K7gD8gg9K0IEeSFdfCXdvG09/DpKVUhhLInYK3JH6CZ0ePYTKKwLZoSJlprZbLw X-Received: by 2002:a65:6148:: with SMTP id o8mr19567031pgv.451.1548677170791; Mon, 28 Jan 2019 04:06:10 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1548677170; cv=none; d=google.com; s=arc-20160816; b=nKc0v5tFl47clevRcYvBzECln07ezceVR34UuSAq1tdy2yspzUZPPyHdAXqA4oSy/f 4HpQuVblmAxQ+4t8q6jFnKFmzpbIFECa9voF8cXJjtDzfRc9uIUxi4B0BHipa/8fQIf6 KApsEA2HzEmglvkwL3sUm7iZ2gsYqRDlQEwJ0jxPjm6bwUQErA0W2JGSvPxUWme0BXiX E/TNp2HlypYRB62BjFitDYLFHlESFSmiNbBaZPXKomgE3O0OMLA1lljrI4D3YVZ1B5KZ HMIzM6aNIsGclTWoarFezyr1h6UQrl2lasWaWEAGHACBwxvnBMdmIXsstXHtbX1q15iZ k6vg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:dkim-signature; bh=sByUJrKsTOxJYVww13dSB2bgQhM1gVqK4ReGQH3yoFk=; b=xVl3vPzzx0oEahzcb5nroAbW9kPk97u5n3as07IUbDTmIPFx6Gg52sasZytdcmeXzT Vrz1eHrgVXl5uVJo1AUZwybKhnR7kxPAiVdwd6UlJLi1BxmqE6BbSbZFOJXH6mSbzEn3 zgq+Kpr5hY0bmiNEntmD37uh3h6n/QbsPjT88fMnUs5jI35hcbUKqMfOI4URiPGVZuuf XI+pxNdBLpECwWFWXksTkwm9rm8OjukwhdRbPn0GK8APZL8DWWl7CwmF2udobgX0HX32 a+70lRwdBBO4ZE9C8Z9nbyO/2xDIxBtR8wF3l2MwjjdIr6BHZBbMsz5DoVm1S2d5w5Dm GT7g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=GNXFVutU; 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=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id p3si19700963plr.376.2019.01.28.04.05.55; Mon, 28 Jan 2019 04:06: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=@linaro.org header.s=google header.b=GNXFVutU; 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=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726997AbfA1MDw (ORCPT + 99 others); Mon, 28 Jan 2019 07:03:52 -0500 Received: from mail-ua1-f67.google.com ([209.85.222.67]:46453 "EHLO mail-ua1-f67.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726714AbfA1MDw (ORCPT ); Mon, 28 Jan 2019 07:03:52 -0500 Received: by mail-ua1-f67.google.com with SMTP id v24so5479220uap.13 for ; Mon, 28 Jan 2019 04:03:52 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=sByUJrKsTOxJYVww13dSB2bgQhM1gVqK4ReGQH3yoFk=; b=GNXFVutUcpCdIF+x7BZJlfEO1iFZLh8FqB8E6XFAXbPl6/2tbGtG43iCMOvFvuvqaa XEb+C51YbMXKZbWfWA6RKydxfFm5XBtULSuQyBAlPFxqQwT11ZTKleRWmEfrUupeQuxt Y+M6Fz+u8aBkN5eniihRN1DMq2qAj+sv9BNX4= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=sByUJrKsTOxJYVww13dSB2bgQhM1gVqK4ReGQH3yoFk=; b=M24A6pyPCdUJxdFN6XKTxBvwo4A4vXfI+x1jgzOJwGz7pYiO7D76E2jxYLoF25C3Zr k+yklmehaiU8uJoqrYpvxPr0Ns34Uy0ey50gqTp8+Cvx3I2VEUmo8hfTReLGjEy2TgbL FZ9CoC+MUGQHJdMdO25TMm3s4btaXAdi9KYY5xOHj/HVgxlS596eo3DUcaYSqrJmy6Sm y+7OP3eqjOf1XFlnnfGjCNMtlFzse3Z432NDBnnbrbX/muevqZFWhJ5b1+HngD128WUr vO26OUQds71KrMr2RMyEkCmNR8W0vXtnkbXcFsKl4UOvV1PmNNz8YqrXg/kn5HJudMNy GJzA== X-Gm-Message-State: AJcUukfljjyXqxvppkRKDufPX4rxfsh+eibLkA9UyQ6P100jJ1AEtGR9 /CTxXIPhnDWLcB4OerewniUJud8taEqy35xEMEQnkQ== X-Received: by 2002:ab0:b83:: with SMTP id c3mr8378257uak.77.1548677031631; Mon, 28 Jan 2019 04:03:51 -0800 (PST) MIME-Version: 1.0 References: <1548245125-31664-1-git-send-email-chaotian.jing@mediatek.com> In-Reply-To: <1548245125-31664-1-git-send-email-chaotian.jing@mediatek.com> From: Ulf Hansson Date: Mon, 28 Jan 2019 13:03:15 +0100 Message-ID: Subject: Re: [PATCH] mmc: mediatek: fix incorrect register setting of hs400_cmd_int_delay To: Chaotian Jing Cc: Matthias Brugger , Ryder Lee , Yong Mao , jjian zhou , Sean Wang , "linux-mmc@vger.kernel.org" , Linux ARM , linux-mediatek@lists.infradead.org, Linux Kernel Mailing List , srv_heupstream Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, 23 Jan 2019 at 13:05, Chaotian Jing wrote: > > to set cmd internal delay, need set PAD_TUNE register but not PAD_CMD_TUNE > register. > > Signed-off-by: Chaotian Jing Applied for fixes, adding a fixes+stable tag, thanks! Kind regards Uffe > --- > drivers/mmc/host/mtk-sd.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/drivers/mmc/host/mtk-sd.c b/drivers/mmc/host/mtk-sd.c > index 8afeaf8..833ef05 100644 > --- a/drivers/mmc/host/mtk-sd.c > +++ b/drivers/mmc/host/mtk-sd.c > @@ -846,7 +846,7 @@ static void msdc_set_mclk(struct msdc_host *host, unsigned char timing, u32 hz) > > if (timing == MMC_TIMING_MMC_HS400 && > host->dev_comp->hs400_tune) > - sdr_set_field(host->base + PAD_CMD_TUNE, > + sdr_set_field(host->base + tune_reg, > MSDC_PAD_TUNE_CMDRRDLY, > host->hs400_cmd_int_delay); > dev_dbg(host->dev, "sclk: %d, timing: %d\n", host->mmc->actual_clock, > -- > 1.8.1.1.dirty >