From 9bb09a30ee38dcb0db9f4c5de805fe11d286db9d Mon Sep 17 00:00:00 2001 From: Kuninori Morimoto Date: Thu, 23 Apr 2015 08:16:04 +0000 Subject: [PATCH] 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-format-patch failed