aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/util/scripting-engines/trace-event-python.c
diff options
context:
space:
mode:
authorUlf Hansson <[email protected]>2012-05-09 16:15:26 +0200
committerChris Ball <[email protected]>2012-05-09 12:55:01 -0400
commitfa5501890d8974301042e0202d342a6cbe8609f4 (patch)
treeae127577d2591e22eed2621d87d1b289e016f3f6 /tools/perf/util/scripting-engines/trace-event-python.c
parent95dcc2cb6c9c84555c29187f8b7cf39e83991a29 (diff)
mmc: core: Prevent eMMC VCC supply to be cut from late init
For eMMC cards that has been initialized from a bootloader, the VCC voltage supply must not be cut in an uncontrolled manner, without first sending SLEEP or POWEROFF_NOTIFY. The regulator_init_complete late initcall, may cut the VCC regulator if it's reference counter is zero. To be able to prevent the regulator from being cut, mmc_start_host, which should execute at device init and thus before late init, calls mmc_power_up. Then the host driver is able to increase the reference to the regulator. Signed-off-by: Ulf Hansson <[email protected]> Reviewed-by: Mark Brown <[email protected]> Signed-off-by: Chris Ball <[email protected]>
Diffstat (limited to 'tools/perf/util/scripting-engines/trace-event-python.c')
0 files changed, 0 insertions, 0 deletions