]> 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, 28 Jan 2013 11:51:33 +0000 (06:51 -0500)
commit8f6be060e175997fcb8ed107f5291130535727ae
treee5932489bbbebc9875abf20ab15ceb86936371e0
parent34857bb1b1cb3a6c3c0fe0e5c66fe4d8e8002fe6
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