From patchwork Tue Feb 14 11:05:40 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Masahiro Yamada X-Patchwork-Id: 9571767 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id 5605260586 for ; Tue, 14 Feb 2017 11:16:42 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 3288D28365 for ; Tue, 14 Feb 2017 11:16:42 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 2729A2839B; Tue, 14 Feb 2017 11:16:42 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-6.8 required=2.0 tests=BAYES_00,DKIM_SIGNED, RCVD_IN_DNSWL_HI,T_DKIM_INVALID autolearn=ham version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id B6FBA28365 for ; Tue, 14 Feb 2017 11:16:41 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753480AbdBNLPZ (ORCPT ); Tue, 14 Feb 2017 06:15:25 -0500 Received: from condef-03.nifty.com ([202.248.20.68]:21704 "EHLO condef-03.nifty.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753465AbdBNLPP (ORCPT ); Tue, 14 Feb 2017 06:15:15 -0500 X-Greylist: delayed 341 seconds by postgrey-1.27 at vger.kernel.org; Tue, 14 Feb 2017 06:15:14 EST Received: from conuserg-07.nifty.com ([10.126.8.70])by condef-03.nifty.com with ESMTP id v1EB6DZr003629 for ; Tue, 14 Feb 2017 20:06:13 +0900 Received: from pug.jp.socionext.com (p14092-ipngnfx01kyoto.kyoto.ocn.ne.jp [153.142.97.92]) (authenticated) by conuserg-07.nifty.com with ESMTP id v1EB5fJ9029754; Tue, 14 Feb 2017 20:05:42 +0900 DKIM-Filter: OpenDKIM Filter v2.10.3 conuserg-07.nifty.com v1EB5fJ9029754 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nifty.com; s=dec2015msa; t=1487070342; bh=M9qOmIOkETzmRXqrGZw1zpA9cCYGI47ipKrG4Ofiz2Q=; h=From:To:Cc:Subject:Date:From; b=z3BuKVzu+tew9NXmMv0Qa/N9mM0YOrUg2npRgKCJUuIxhrI6vpwXxoF/byIq7aaKP lVZW3hjINQxcXJRsvof/kXMf5Q2JNhn5vePDj/PCovYWWN7roImeqHyLPXLs5tlmEK ZlOF3LKA2GUlnVDUYUuj+ymRaVzmzNOXmVTyrO1dPZZTabbaTNRmmW1d8LzhgqbI2S woyE8WH4o36LVcnGaFGVHUbWfsxRJsRvQy+D7Xd0goHhj6ZnJYWpK3r0TgAlDL7SGt ElmnV/7QNjqGhCOeP/w4U+68QwP0n36tST/STcW30XhQh3QQa9wN0UMoI1ppfo9M0m XKlISVGJSu4kQ== X-Nifty-SrcIP: [153.142.97.92] From: Masahiro Yamada To: linux-mmc@vger.kernel.org Cc: Masahiro Yamada , linux-kernel@vger.kernel.org, Adrian Hunter , Ulf Hansson Subject: [PATCH] mmc: sdhci-cadence: fix bit shift of read data from PHY port Date: Tue, 14 Feb 2017 20:05:40 +0900 Message-Id: <1487070340-8988-1-git-send-email-yamada.masahiro@socionext.com> X-Mailer: git-send-email 2.7.4 Sender: linux-mmc-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-mmc@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP This macro is currently unused, but it may be useful for debug use. Fix it just in case. Fixes: ff6af28faff5 ("mmc: sdhci-cadence: add Cadence SD4HC support") Signed-off-by: Masahiro Yamada Acked-by: Adrian Hunter --- drivers/mmc/host/sdhci-cadence.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/mmc/host/sdhci-cadence.c b/drivers/mmc/host/sdhci-cadence.c index 4b0ecb9..5ffa2e5 100644 --- a/drivers/mmc/host/sdhci-cadence.c +++ b/drivers/mmc/host/sdhci-cadence.c @@ -25,7 +25,7 @@ #define SDHCI_CDNS_HRS04_ACK BIT(26) #define SDHCI_CDNS_HRS04_RD BIT(25) #define SDHCI_CDNS_HRS04_WR BIT(24) -#define SDHCI_CDNS_HRS04_RDATA_SHIFT 12 +#define SDHCI_CDNS_HRS04_RDATA_SHIFT 16 #define SDHCI_CDNS_HRS04_WDATA_SHIFT 8 #define SDHCI_CDNS_HRS04_ADDR_SHIFT 0