commit | fb9ee04779cf34a10ef7afaabf4e8055688777c4 | [log] [tgz] |
---|---|---|
author | Ludovic Desroches <ludovic.desroches@atmel.com> | Thu Apr 07 11:13:08 2016 +0200 |
committer | Ulf Hansson <ulf.hansson@linaro.org> | Mon May 02 10:33:26 2016 +0200 |
tree | 01c3c9946d99848bd80f93dbcd745db2cf6eb1ff | |
parent | 02d0b68524c0848f5de89a0ecd1e97790018d7d3 [diff] |
mmc: sdhci: Introduce sdhci_calc_clk() In order to remove the SDHCI_QUIRK2_NEED_DELAY_AFTER_INT_CLK_RST and to reduce code duplication, put the code relative to the SD clock configuration in a function which can be used by hosts for the implementation of the ->set_clock() callback. Signed-off-by: Ludovic Desroches <ludovic.desroches@atmel.com> Acked-by: Adrian Hunter <adrian.hunter@intel.com> Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>