diff options
author | Kuninori Morimoto <kuninori.morimoto.gx@renesas.com> | 2015-04-23 08:16:04 (GMT) |
---|---|---|
committer | Ulf Hansson <ulf.hansson@linaro.org> | 2015-05-25 07:20:06 (GMT) |
commit | 9bb09a30ee38dcb0db9f4c5de805fe11d286db9d (patch) | |
tree | 9ec8c27485cf3063a2fc52d5f2f2a9d22f75aa7e /Documentation/devicetree/bindings/mmc | |
parent | 6aed678bcdee61ba8fb0b149dc4303b2f24993a2 (diff) | |
download | linux-9bb09a30ee38dcb0db9f4c5de805fe11d286db9d.tar.xz |
mmc: sh_mmcif: separate sh_mmcif_clk_update() into setup and prepare
Current sh_mmcif_clk_update() is called from probe() and set_ios(),
but, the purpose of later one is just clk_prepare_enable().
No need to setup mmc->f_max/f_min in many times.
This patch separe sh_mmcif_clk_update() into clk_prepare_enable()
and mmc->f_max/f_min setup.
Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Tested-by: Keita Kobayashi <keita.kobayashi.ym@renesas.com>
Acked-by: Geert Uytterhoeven <geert+renesas@glider.be>
Acked-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
Diffstat (limited to 'Documentation/devicetree/bindings/mmc')
0 files changed, 0 insertions, 0 deletions