mmc: core: Extend shutdown sequence to handle bus operations
authorUlf Hansson <ulf.hansson@linaro.org>
Mon, 10 Jun 2013 15:03:41 +0000 (17:03 +0200)
committerlintao <lintao@rock-chips.com>
Fri, 7 Mar 2014 05:07:57 +0000 (13:07 +0800)
commitea9047d60609c7b0b7c66cb966cb7cdce4bf8b05
treecaef71a94a6e2595f49afffc500f7d939933271e
parentcbac2e52012519d9ef39dedcc50b75c1b05ab8b7
mmc: core: Extend shutdown sequence to handle bus operations

By adding an optional .shutdown callback to the bus_ops struct we
provide the possibility to let each bus type handle it's shutdown
requirements.

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