From: Kuninori Morimoto Date: Thu, 23 Apr 2015 08:16:04 +0000 (+0000) Subject: mmc: sh_mmcif: separate sh_mmcif_clk_update() into setup and prepare X-Git-Tag: omap-for-v4.3/legacy-v2-signed~190^2~93 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=9bb09a30ee38dcb0db9f4c5de805fe11d286db9d;p=pandora-kernel.git 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 Tested-by: Keita Kobayashi Acked-by: Geert Uytterhoeven Acked-by: Laurent Pinchart Signed-off-by: Ulf Hansson --- Reading git-diff-tree failed