]> git.baikalelectronics.ru Git - kernel.git/commit
mmc: core: Add shutdown callback for (e)MMC bus_ops
authorUlf Hansson <ulf.hansson@linaro.org>
Mon, 10 Jun 2013 15:03:44 +0000 (17:03 +0200)
committerChris Ball <cjb@laptop.org>
Thu, 27 Jun 2013 16:39:20 +0000 (12:39 -0400)
commit1d5195c980099f938455859559cae811136d604f
treeb1fd64aa3de40099693fdade6cc085f06337115d
parent5709811215d2b078bad048f140a43236fd48aea6
mmc: core: Add shutdown callback for (e)MMC bus_ops

The shutdown sequence of an (e)MMC is very similar to a suspend. We
re-use the suspend function and tell it we are not in suspend context.

Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
Signed-off-by: Chris Ball <cjb@laptop.org>
drivers/mmc/core/mmc.c