diff options
author | Lars-Peter Clausen <lars@metafoo.de> | 2013-07-29 17:14:01 +0200 |
---|---|---|
committer | Mark Brown <broonie@linaro.org> | 2013-07-29 18:41:00 +0100 |
commit | de9ba98b6d2629f53fd271a973176c2fa9736d9c (patch) | |
tree | f3dd7477dfcf63ca2effa74fa1a5a5d998df853e /fs/adfs | |
parent | 5106b92f80a2cd37c52cffed80b4f5acfb77ccfd (diff) | |
download | linux-de9ba98b6d2629f53fd271a973176c2fa9736d9c.tar.gz linux-de9ba98b6d2629f53fd271a973176c2fa9736d9c.tar.bz2 linux-de9ba98b6d2629f53fd271a973176c2fa9736d9c.zip |
ASoC: dapm: Make widget power register settings more flexible
Currently the DAPM code is limited to only setting or clearing a single bit in a
register to power a widget up or down. This patch extends the DAPM code to be
more flexible in that regard and allow widgets to use arbitrary values to be
used to put a widget in either on or off state.
Since the snd_soc_dapm_widget struct already contains a on_val and off_val field
no additional fields need to be added and in fact the invert field can even be
removed. Also the generated code is slightly smaller.
Signed-off-by: Lars-Peter Clausen <lars@metafoo.de>
Signed-off-by: Mark Brown <broonie@linaro.org>
Diffstat (limited to 'fs/adfs')
0 files changed, 0 insertions, 0 deletions