summaryrefslogtreecommitdiffstats
path: root/sound/synth
diff options
context:
space:
mode:
authorDave Martin <dave.martin@linaro.org>2012-12-10 17:19:57 +0000
committerNicolas Pitre <nicolas.pitre@linaro.org>2013-09-23 18:38:54 -0400
commitc0f4375146a738bae23e48fa8b5383abf02177cb (patch)
tree271ff2cfeeaa91ebf6c0345814973ad7d67154a1 /sound/synth
parent7f63037c8fb204f666367c6469f5a9b9d6888877 (diff)
ARM: bL_switcher: Add synchronous enable/disable interface
Some subsystems will need to know for sure whether the switcher is enabled or disabled during certain critical regions. This patch provides a simple mutex-based mechanism to discover whether the switcher is enabled and temporarily lock out further enable/disable: * bL_switcher_get_enabled() returns true iff the switcher is enabled and temporarily inhibits enable/disable. * bL_switcher_put_enabled() permits enable/disable of the switcher again after a previous call to bL_switcher_get_enabled(). Signed-off-by: Dave Martin <dave.martin@linaro.org> Signed-off-by: Nicolas Pitre <nico@linaro.org>
Diffstat (limited to 'sound/synth')
0 files changed, 0 insertions, 0 deletions