All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/4] Cleanup setup_clock callback from dw_mmc
@ 2016-01-28  1:30 Shawn Lin
  2016-01-28  1:30 ` [PATCH 1/4] mmc: dw_mmc-rockchip: remove setup_clock for rockchip Shawn Lin
                   ` (4 more replies)
  0 siblings, 5 replies; 9+ messages in thread
From: Shawn Lin @ 2016-01-28  1:30 UTC (permalink / raw)
  To: Jaehoon Chung, Ulf Hansson; +Cc: linux-mmc, linux-kernel, Shawn Lin


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, adding a
callback just for one-time-used clk stuff makes 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.



Shawn Lin (4):
  mmc: dw_mmc-rockchip: remove setup_clock for rockchip
  mmc: dw_mmc: add setup_clk for init hook
  mmc: dw_mmc-exynos: remove dw_mci_exynos_setup_clock
  mmc: dw_mmc: remove setup_clock callback

 drivers/mmc/host/dw_mmc-exynos.c   | 15 ++++-----------
 drivers/mmc/host/dw_mmc-rockchip.c | 14 +++++---------
 drivers/mmc/host/dw_mmc.c          | 11 +----------
 drivers/mmc/host/dw_mmc.h          |  3 +--
 4 files changed, 11 insertions(+), 32 deletions(-)

-- 
2.3.7

^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2016-03-31  6:38 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-01-28  1:30 [PATCH 0/4] Cleanup setup_clock callback from dw_mmc Shawn Lin
2016-01-28  1:30 ` [PATCH 1/4] mmc: dw_mmc-rockchip: remove setup_clock for rockchip Shawn Lin
2016-01-28  1:31 ` [PATCH 2/4] mmc: dw_mmc: add setup_clk for init hook Shawn Lin
2016-02-04  6:04   ` Jaehoon Chung
2016-02-12 11:30     ` Shawn Lin
2016-01-28  1:31 ` [PATCH 3/4] mmc: dw_mmc-exynos: remove dw_mci_exynos_setup_clock Shawn Lin
2016-01-28  1:31 ` [PATCH 4/4] mmc: dw_mmc: remove setup_clock callback Shawn Lin
2016-03-31  6:38   ` Jaehoon Chung
2016-03-31  6:37 ` [PATCH 0/4] Cleanup setup_clock callback from dw_mmc Jaehoon Chung

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.