Additional debug code to where the *_trigger()'s finish.
Conflicts: ac108.c modified: seeed-voicecard.c
This commit is contained in:
parent
267152505b
commit
dd94d86a09
3 changed files with 11 additions and 0 deletions
3
ac101.c
3
ac101.c
|
@ -1286,6 +1286,9 @@ int ac101_trigger(struct snd_pcm_substream *substream, int cmd,
|
||||||
default:
|
default:
|
||||||
ret = -EINVAL;
|
ret = -EINVAL;
|
||||||
}
|
}
|
||||||
|
AC101_DBG("stream=%s cmd=%d;finished %d\n",
|
||||||
|
snd_pcm_stream_str(substream),
|
||||||
|
cmd, ret);
|
||||||
return ret;
|
return ret;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
4
ac108.c
4
ac108.c
|
@ -1088,6 +1088,10 @@ static int ac108_trigger(struct snd_pcm_substream *substream, int cmd,
|
||||||
__ret:
|
__ret:
|
||||||
spin_unlock_irqrestore(&ac10x->lock, flags);
|
spin_unlock_irqrestore(&ac10x->lock, flags);
|
||||||
|
|
||||||
|
dev_dbg(dai->dev, "%s() stream=%s cmd=%d; finished %d\n",
|
||||||
|
__FUNCTION__,
|
||||||
|
snd_pcm_stream_str(substream),
|
||||||
|
cmd, ret);
|
||||||
return ret;
|
return ret;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -240,6 +240,10 @@ static int seeed_voice_card_trigger(struct snd_pcm_substream *substream, int cmd
|
||||||
ret = -EINVAL;
|
ret = -EINVAL;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
dev_dbg(rtd->card->dev, "%s() stream=%s cmd=%d play:%d, capt:%d;finished %d\n",
|
||||||
|
__FUNCTION__, snd_pcm_stream_str(substream), cmd,
|
||||||
|
dai->playback_active, dai->capture_active, ret);
|
||||||
|
|
||||||
return ret;
|
return ret;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue