diff options
author | Olivier Moysan <olivier.moysan@st.com> | 2018-10-19 17:56:35 +0200 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2018-10-19 17:06:07 +0100 |
commit | 318e741ee13b5a72f3051d9bb6852b1f4d02d0bb (patch) | |
tree | 0eb0025967115113c5b13cccb9a497fac9df0093 /sound/last.c | |
parent | 7ece50c9f790270e82b77589d34e54547c895a66 (diff) | |
download | linux-318e741ee13b5a72f3051d9bb6852b1f4d02d0bb.tar.bz2 |
ASoC: cs42l51: fix mclk support
The MCLK clock is made optional for cs42l51 codec.
However, ASoC DAPM clock supply widget, expects the clock to be defined
unconditionally.
Register MCLK DAPM conditionally in codec driver,
depending on clock presence in DT.
Fixes: 5e8d63a726f8 ("ASoC: cs42l51: add mclk support")
Signed-off-by: Olivier Moysan <olivier.moysan@st.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'sound/last.c')
0 files changed, 0 insertions, 0 deletions