From patchwork Wed Oct 10 03:51:30 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Masahiro Yamada X-Patchwork-Id: 10633907 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 2B129112B for ; Wed, 10 Oct 2018 03:52:27 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 1187F29CD1 for ; Wed, 10 Oct 2018 03:52:27 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 054F629D9D; Wed, 10 Oct 2018 03:52:27 +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=-7.9 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,MAILING_LIST_MULTI,RCVD_IN_DNSWL_HI 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 AAD7029CD1 for ; Wed, 10 Oct 2018 03:52:26 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726944AbeJJLMe (ORCPT ); Wed, 10 Oct 2018 07:12:34 -0400 Received: from conuserg-11.nifty.com ([210.131.2.78]:61081 "EHLO conuserg-11.nifty.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725860AbeJJLMe (ORCPT ); Wed, 10 Oct 2018 07:12:34 -0400 Received: from pug.e01.socionext.com (p14092-ipngnfx01kyoto.kyoto.ocn.ne.jp [153.142.97.92]) (authenticated) by conuserg-11.nifty.com with ESMTP id w9A3pfet028281; Wed, 10 Oct 2018 12:51:42 +0900 DKIM-Filter: OpenDKIM Filter v2.10.3 conuserg-11.nifty.com w9A3pfet028281 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nifty.com; s=dec2015msa; t=1539143502; bh=72rXcG8j13CA0TXB2J2jd+mk6dhbo3w1oruCUDkEMug=; h=From:To:Cc:Subject:Date:From; b=Ek6gn8dJjSpjzRkdykdPtjerJENR9c1GjVmuxWxjgw+OcxyHhK8qHAvWgiVzqB+Za in5shSOCaMuTIJwyQOF6oVzVIifODdPazgcZ1AAigtM01fA9D8jFqBUxj0T3fg4B5P upi6jEbCVlQRxG78DvjJUYEfIH44oOg5yA25jtVEvGuuaEs7XqRIvqRyxBXtsdlc9p meGREXVG/2hBxd6ZCCY3EBIam6N0ThbsNjfCZpOV6zqZ9Zexhfta6Drwy9jb7nNPrv jycODePzIm3na5JKJv2Mxzhs536fDWwZbMzOOmMMlrrDizZW9v932eN5NL0ymoBzH/ v3IZq4FwcREfA== X-Nifty-SrcIP: [153.142.97.92] From: Masahiro Yamada To: Wolfram Sang , linux-mmc@vger.kernel.org Cc: Ulf Hansson , linux-renesas-soc@vger.kernel.org, Masahiro Yamada , Lee Jones , linux-kernel@vger.kernel.org Subject: [PATCH v3 0/2] mmc: tmio: remove confusing TMIO_MMC_HAVE_HIGH_REG flag Date: Wed, 10 Oct 2018 12:51:30 +0900 Message-Id: <1539143492-32605-1-git-send-email-yamada.masahiro@socionext.com> X-Mailer: git-send-email 2.7.4 Sender: linux-renesas-soc-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-renesas-soc@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP CTL_SDIO_REGS is a register specific to tmio_mmc.c Currently, we handle it in tmio_mmc_core.c, hence need TMIO_MMC_HAVE_HIGH_REG flag to prevent the other platforms from accessing to it. We can just move CTL_SDIO_REGS to tmio_mmc.c and delete the confusing TMIO_MMC_HAVE_HIGH_REG flag. Masahiro Yamada (2): mmc: tmio: move MFD variant reset to a platform hook mmc: tmio: remove TMIO_MMC_HAVE_HIGH_REG flag drivers/mmc/host/tmio_mmc.c | 24 ++++++++++++++++++++++-- drivers/mmc/host/tmio_mmc.h | 4 +--- drivers/mmc/host/tmio_mmc_core.c | 14 ++++++-------- include/linux/mfd/tmio.h | 7 ------- 4 files changed, 29 insertions(+), 20 deletions(-)