diff options
author | Jerome Brunet <jbrunet@baylibre.com> | 2019-05-15 15:18:55 +0200 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2019-05-16 12:13:23 +0100 |
commit | c3456a4b2142550944f73a87a8f338074508b249 (patch) | |
tree | ebae0c4d5055bc1dcf4b186011312f2e80755ad5 /crypto/shash.c | |
parent | 1b74211011eb064914b8155a77a8aaae61cd27eb (diff) | |
download | lwn-c3456a4b2142550944f73a87a8f338074508b249.tar.gz lwn-c3456a4b2142550944f73a87a8f338074508b249.zip |
ASoC: dapm: allow muxes to force a disconnect
Let soc_dapm_mux_update_power() accept NULL as 'e' enum.
It makes the code a bit more robust and, more importantly, let the calling
mux force a disconnect of the output path if necessary.
This is useful if the dapm elements following the mux must be off
while updating the mux, to avoid glitches or force a (re)configuration.
Signed-off-by: Jerome Brunet <jbrunet@baylibre.com>
Tested-by: Neil Armstrong <narmstrong@baylibre.com>
Tested-by: Kevin Hilman <khilman@baylibre.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'crypto/shash.c')
0 files changed, 0 insertions, 0 deletions