From patchwork Wed Oct 3 11:36:25 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Masahiro Yamada X-Patchwork-Id: 10624663 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 C8E4F15A6 for ; Wed, 3 Oct 2018 11:37:36 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id BE02828765 for ; Wed, 3 Oct 2018 11:37:36 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id B1C7A2881A; Wed, 3 Oct 2018 11:37:36 +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=unavailable 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 7310828765 for ; Wed, 3 Oct 2018 11:37:36 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727451AbeJCSZ0 (ORCPT ); Wed, 3 Oct 2018 14:25:26 -0400 Received: from conuserg-09.nifty.com ([210.131.2.76]:27478 "EHLO conuserg-09.nifty.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727443AbeJCSZZ (ORCPT ); Wed, 3 Oct 2018 14:25:25 -0400 Received: from pug.e01.socionext.com (p14092-ipngnfx01kyoto.kyoto.ocn.ne.jp [153.142.97.92]) (authenticated) by conuserg-09.nifty.com with ESMTP id w93BaXuQ004652; Wed, 3 Oct 2018 20:36:34 +0900 DKIM-Filter: OpenDKIM Filter v2.10.3 conuserg-09.nifty.com w93BaXuQ004652 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nifty.com; s=dec2015msa; t=1538566594; bh=qUUVbAlgYWUSHXOyHXkrd+n8zWW2YsiDCDxY7k1RW7Q=; h=From:To:Cc:Subject:Date:From; b=PUPNZ7P1CAfMe31Vgm46jb6DCOj6JrOQMvOsqBH8ov9yqQ52T+dadvdayBDCOeiyJ k9Is7pCaFCbuHaJDYsmIeia0a+OfB26yISC13tzQLjiyciYKY4KSsKz/kCC8clYpGY ETKVVTJUhf2pFKiSwe36zYjuzI+pLqdIRmj42WUx9UYcOLFXpdfl5nWUZNQNV6rZ7A h2meBYCIbOiPHGf0y5B7yMYFKonjBjqx3ewUy5HIk+tfpCLzcxKhvxzrKEMlFFU8RL 3k6oYHyAX99ldcHopYEK995c13Jw5111cKYu58eVA0iL+QdZRKiSCRZGYmfaGwuSg3 RIvKLi+vX7Dww== 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 v2 0/2] mmc: tmio: remove confusing TMIO_MMC_HAVE_HIGH_REG flag Date: Wed, 3 Oct 2018 20:36:25 +0900 Message-Id: <1538566587-29452-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 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 | 8 +++----- include/linux/mfd/tmio.h | 7 ------- 4 files changed, 26 insertions(+), 17 deletions(-)