]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
mmc: sdhci: introduce sdhci_update_clock helper to re-enable clock
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Mon, 7 Jan 2013 14:31:08 +0000 (16:31 +0200)
committerChris Ball <cjb@laptop.org>
Mon, 11 Feb 2013 18:28:52 +0000 (13:28 -0500)
commit8213af3b7a4059f13ad8b5beb3e6d69d9301f27d
treefe90c6c43b359b0d9ff683f1a4f64e0472f6cea8
parent740b7a44aedbe8d916ce21b636f78467f5da1c59
mmc: sdhci: introduce sdhci_update_clock helper to re-enable clock

There are three places where same piece of code is used. Let's split it
to a separate function.

Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Signed-off-by: Chris Ball <cjb@laptop.org>
drivers/mmc/host/sdhci.c