Commit c0d29020 authored by Philippe Gerum's avatar Philippe Gerum
Browse files

ASoC: wm8904: evl: enable out-of-band operations



Provide a preparation call for out-of-band requests, which enables
this codec driver for EVL-controlled I/O.
Signed-off-by: Philippe Gerum's avatarPhilippe Gerum <rpm@xenomai.org>
parent 72fb357f
......@@ -1951,6 +1951,12 @@ static int wm8904_set_bias_level(struct snd_soc_component *component,
return 0;
}
static int wm8904_prepare_oob(struct snd_pcm_substream *substream,
struct snd_soc_dai *codec_dai)
{
return 0;
}
#define WM8904_RATES SNDRV_PCM_RATE_8000_96000
#define WM8904_FORMATS (SNDRV_PCM_FMTBIT_S16_LE | SNDRV_PCM_FMTBIT_S20_3LE |\
......@@ -1963,6 +1969,7 @@ static const struct snd_soc_dai_ops wm8904_dai_ops = {
.set_pll = wm8904_set_fll,
.hw_params = wm8904_hw_params,
.digital_mute = wm8904_digital_mute,
.prepare_oob = wm8904_prepare_oob,
};
static struct snd_soc_dai_driver wm8904_dai = {
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment