commit | ab4d40536845d48bc3bf9d1f8fae314b4e3c8010 | [log] [tgz] |
---|---|---|
author | Jaehoon Chung <jh80.chung@samsung.com> | Tue Jan 23 14:04:30 2018 +0900 |
committer | Jaehoon Chung <jh80.chung@samsung.com> | Wed Jan 24 16:08:27 2018 +0900 |
tree | fbc5d62799f6af1273f957ddeab69397da884500 | |
parent | 35f67bfa3335ccaa84ca0bbcc2ab5f843af419de [diff] |
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>