Jaehoon Chung c0fafe64a5 mmc: fix to assign to correct clock value when clock is enabling
When clock is enabling, it's assigned to 0 as mmc->clock.
Then it can't initialize any card.
Fix to assign to correct clock value as mmc->cfg->f_min or f_max.

Fixes: 9546eb92cb6 ("mmc: fix the wrong disabling clock")
Signed-off-by: Jaehoon Chung <jh80.chung@samsung.com>
Tested-by: Guillaume GARDET <guillaume.gardet@free.fr>
Tested-by: Anand Moon <linux.amoon@gmail.com>
Tested-by: Stephen Warren <swarren@nvidia.com>
2018-01-24 16:08:27 +09:00
..
2017-08-17 16:59:55 +09:00
2017-08-17 16:59:55 +09:00
2016-10-09 21:36:27 -06:00
2017-06-01 07:03:01 -06:00
2017-11-30 09:59:09 +08:00
2017-06-01 07:03:03 -06:00
2017-06-01 07:03:10 -06:00