]> git.baikalelectronics.ru Git - kernel.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)
commit2324253bb80c03fcc015c7742d39a11b8c0a83e6
treefe90c6c43b359b0d9ff683f1a4f64e0472f6cea8
parent79eb5798727710fd9a2fb27e97c8a2ea074e8ec4
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