diff options
author | Lars-Peter Clausen <lars@metafoo.de> | 2014-03-05 16:17:45 +0400 |
---|---|---|
committer | Mark Brown <broonie@linaro.org> | 2014-03-06 13:04:55 +0400 |
commit | 5c898e74d135a23ce12e0263c1a3c78eeae1b52b (patch) | |
tree | 987d9a6a06174368d141d6caee65ad4c9e6349bf /samples | |
parent | a1a0cc0646e38b41bfaac94f2b84422bb1df40e0 (diff) | |
download | linux-5c898e74d135a23ce12e0263c1a3c78eeae1b52b.tar.xz |
ASoC: Add helper function to check whether a CODEC is active
Instead of directly checking the 'active' field of the CODEC struct add a new
helper function that will return either true or false depending on whether the
CODEC is active. This will make the migration to the component level easier.
The patch also updates all CODEC drivers that check the active attribute to use
the new helper function.
Signed-off-by: Lars-Peter Clausen <lars@metafoo.de>
Signed-off-by: Mark Brown <broonie@linaro.org>
Diffstat (limited to 'samples')
0 files changed, 0 insertions, 0 deletions