commit | 5baf543e5277ec30c2e9fdb3e89dafc926532bac | [log] [tgz] |
---|---|---|
author | Jean-Jacques Hiblot <jjhiblot@ti.com> | Tue Jan 30 16:01:30 2018 +0100 |
committer | Jaehoon Chung <jh80.chung@samsung.com> | Mon Feb 19 16:58:54 2018 +0900 |
tree | f92c314e1caf962e5da4ffd46ce77a343c210af4 | |
parent | d4d64889b05561d3a3cc8741f86f76d577cb6149 [diff] |
mmc: omap_hsmmc: cleanup clock configuration Add a separate function for starting the clock, stopping the clock and setting the clock. Starting the clock and stopping the clock can be used irrespective of setting the clock (For example during iodelay recalibration). Also set the clock only if there is a change in frequency. Signed-off-by: Kishon Vijay Abraham I <kishon@ti.com> Signed-off-by: Jean-Jacques Hiblot <jjhiblot@ti.com>