
27 Apr
2011
27 Apr
'11
8:49 p.m.
On 04/27/2011 07:27 PM, Mark Brown wrote:
Signed-off-by: Mark Brown broonie@opensource.wolfsonmicro.com
sound/soc/soc-core.c | 49 ++++++++++++++++++++++++++++++------------------- 1 files changed, 30 insertions(+), 19 deletions(-)
diff --git a/sound/soc/soc-core.c b/sound/soc/soc-core.c index a6f37d4..cb93b79 100644 --- a/sound/soc/soc-core.c +++ b/sound/soc/soc-core.c @@ -545,6 +545,12 @@ static int soc_pcm_open(struct snd_pcm_substream *substream)
mutex_lock(&pcm_mutex);
- /* CODEC<->CODEC DAI link, no CPU interface */
- if (rtd->dai_link->no_cpu) {
ret = -EINVAL;
goto out;
- }
- /* startup the audio subsystem */ if (cpu_dai->driver->ops->startup) { ret = cpu_dai->driver->ops->startup(substream, cpu_dai);
This hunk looks as if it belongs to a different series. There is currently no 'no_cpu' field in the snd_soc_dai_link struct.
- Lars