[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <1459409616-20306-1-git-send-email-shawn.lin@rock-chips.com>
Date: Thu, 31 Mar 2016 15:33:36 +0800
From: Shawn Lin <shawn.lin@...k-chips.com>
To: Jaehoon Chung <jh80.chung@...sung.com>,
Ulf Hansson <ulf.hansson@...aro.org>
Cc: linux-mmc@...r.kernel.org, linux-kernel@...r.kernel.org,
Heiko Stuebner <heiko@...ech.de>,
linux-rockchip@...ts.infradead.org,
Shawn Lin <shawn.lin@...k-chips.com>
Subject: [PATCH v2 0/3] Cleanup setup_clock callback from dw_mmc
Hello Jeahoon
Currently dw_mmc is a little too queen-size. As we had cleanup
prepare_command callback some days before, there are also some
ones deserve to remove. Also we should avoid add new quirks or
callbacks into dw_mmc in order to avoid the dilemma sdhci meets
now.
This patchset remove setup_clock callback. Obviously, add a callback
just for one-time-used clk stuff make no sense. We combine what
setup_clock does before into init callback. For exynos platfrom, it
needs call init hook after resume, so we add new argument in init hook
to indicate whether it needs do clk stuff or not.
Changes in v2:
- rebase on linux-mmc next
- remove add setup_clk flag for init callback
Shawn Lin (3):
mmc: dw_mmc-rockchip: remove setup_clock for rockchip
mmc: dw_mmc-exynos: remove dw_mci_exynos_setup_clock
mmc: dw_mmc: remove setup_clock callback
drivers/mmc/host/dw_mmc-exynos.c | 8 --------
drivers/mmc/host/dw_mmc-rockchip.c | 12 ++++--------
drivers/mmc/host/dw_mmc.c | 9 ---------
drivers/mmc/host/dw_mmc.h | 2 --
4 files changed, 4 insertions(+), 27 deletions(-)
--
2.3.7
Powered by blists - more mailing lists