From mboxrd@z Thu Jan 1 00:00:00 1970 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=-7.0 required=3.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_PATCH,MAILING_LIST_MULTI, SIGNED_OFF_BY,SPF_PASS,URIBL_BLOCKED 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 A1E97C282D7 for ; Sat, 2 Feb 2019 11:49:01 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 64D0D20818 for ; Sat, 2 Feb 2019 11:49:01 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1549108141; bh=qVOfScZS/iAPeyLmyrtSx1uJ6iltF0Epy1VlFC5h9cI=; h=Subject:To:Cc:From:Date:List-ID:From; b=B3blGzP4wxTeovqffwJAPIYz3HHBo6s/s24hhPV71uys45Z7ukM3y+kRaJrxz3zO4 bYntG4HyFUn3OvPgLk+1UMHF1UsqcNFDK1qbJ5Svz0E/ETQWFWp/DCJtxcr0mltBsG sFjaHai1gNBw28AmMP0eX7II1PRg6lwE5FnDKnEg= Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727449AbfBBLtB (ORCPT ); Sat, 2 Feb 2019 06:49:01 -0500 Received: from wout2-smtp.messagingengine.com ([64.147.123.25]:43671 "EHLO wout2-smtp.messagingengine.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727349AbfBBLtA (ORCPT ); Sat, 2 Feb 2019 06:49:00 -0500 Received: from compute6.internal (compute6.nyi.internal [10.202.2.46]) by mailout.west.internal (Postfix) with ESMTP id AC6AA2D4E; Sat, 2 Feb 2019 06:48:57 -0500 (EST) Received: from mailfrontend2 ([10.202.2.163]) by compute6.internal (MEProxy); Sat, 02 Feb 2019 06:48:57 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-transfer-encoding:content-type :date:from:message-id:mime-version:subject:to:x-me-proxy :x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s=fm1; bh=73zfLh K83mTOvoRsrCxYkERx8dkvUQYeklUjUq3oHrQ=; b=iOJRzgFMhOwcF5IG1d1Fl9 VXTKhdTaL09m8lmMF5ROzZRubK3Wo1TIA3Gp/i1A00TxslK09w/I91ntuBg+gKcr d1B3SA0ly5O9BG42zdzNOMM4QcYPoRIkNh/37wvehuYMVR11rjV6Exr3bZ7gXljj LpnSZobZEuEtu5csbp4U4KruQBqsBGuGnbZZqmwk4OxjruYwR6BfstTXvR5aQyLY cKTi2ju6nfR4EAvtAOGPPK+kAKjw/meYizxbY7whr2zdWfUmBAW0AOQdajbMCqkp KiE+e6+J3YiC7OK/6Kp28vC9clSvIOR4Ej2LeBE6f4iieXOkOheE53ihiLiZMP1g == X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedtledrkedtgdeffecutefuodetggdotefrodftvf curfhrohhfihhlvgemucfhrghsthforghilhdpqfhuthenuceurghilhhouhhtmecufedt tdenucenucfjughrpefuvffhfffkgggtgfesthekredttddtlfenucfhrhhomhepoehgrh gvghhkhheslhhinhhugihfohhunhgurghtihhonhdrohhrgheqnecukfhppeekfedrkeei rdekledruddtjeenucfrrghrrghmpehmrghilhhfrhhomhepghhrvghgsehkrhhorghhrd gtohhmnecuvehluhhsthgvrhfuihiivgeptd X-ME-Proxy: Received: from localhost (5356596b.cm-6-7b.dynamic.ziggo.nl [83.86.89.107]) by mail.messagingengine.com (Postfix) with ESMTPA id 34795100BA; Sat, 2 Feb 2019 06:48:56 -0500 (EST) Subject: FAILED: patch "[PATCH] mmc: mediatek: fix incorrect register setting of" failed to apply to 4.14-stable tree To: chaotian.jing@mediatek.com, ulf.hansson@linaro.org Cc: From: Date: Sat, 02 Feb 2019 12:48:54 +0100 Message-ID: <1549108134199156@kroah.com> MIME-Version: 1.0 Content-Type: text/plain; charset=ANSI_X3.4-1968 Content-Transfer-Encoding: 8bit Sender: stable-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: stable@vger.kernel.org The patch below does not apply to the 4.14-stable tree. If someone wants it applied there, or to any other stable or longterm tree, then please email the backport, including the original git commit id to . thanks, greg k-h ------------------ original commit in Linus's tree ------------------ >From 3751e008da0df4384031bd66a516c0292f915605 Mon Sep 17 00:00:00 2001 From: Chaotian Jing Date: Wed, 23 Jan 2019 20:05:25 +0800 Subject: [PATCH] mmc: mediatek: fix incorrect register setting of hs400_cmd_int_delay to set cmd internal delay, need set PAD_TUNE register but not PAD_CMD_TUNE register. Signed-off-by: Chaotian Jing Fixes: 1ede5cb88a29 ("mmc: mediatek: Use data tune for CMD line tune") Cc: stable@vger.kernel.org # v4.12+ Signed-off-by: Ulf Hansson diff --git a/drivers/mmc/host/mtk-sd.c b/drivers/mmc/host/mtk-sd.c index 8afeaf81ae66..833ef0590af8 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,