Additional debug code to where the *_trigger()'s finish.
This commit is contained in:
parent
af484de3af
commit
1774a54301
3
ac101.c
3
ac101.c
|
@ -1289,6 +1289,9 @@ int ac101_trigger(struct snd_pcm_substream *substream, int cmd,
|
|||
default:
|
||||
ret = -EINVAL;
|
||||
}
|
||||
AC101_DBG("stream=%s cmd=%d;finished %d\n",
|
||||
snd_pcm_stream_str(substream),
|
||||
cmd, ret);
|
||||
return ret;
|
||||
}
|
||||
|
||||
|
|
4
ac108.c
4
ac108.c
|
@ -1089,6 +1089,10 @@ static int ac108_trigger(struct snd_pcm_substream *substream, int cmd,
|
|||
}
|
||||
|
||||
__ret:
|
||||
dev_dbg(dai->dev, "%s() stream=%s cmd=%d; finished %d\n",
|
||||
__FUNCTION__,
|
||||
snd_pcm_stream_str(substream),
|
||||
cmd, ret);
|
||||
return ret;
|
||||
}
|
||||
|
||||
|
|
|
@ -246,6 +246,10 @@ static int seeed_voice_card_trigger(struct snd_pcm_substream *substream, int cmd
|
|||
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->stream_active[SNDRV_PCM_STREAM_PLAYBACK], dai->stream_active[SNDRV_PCM_STREAM_CAPTURE], ret);
|
||||
|
||||
return ret;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue