
2 Dec
2012
2 Dec
'12
6:12 a.m.
On Wed, Nov 21, 2012 at 02:36:56PM +0530, Sachin Kamat wrote:
static void audio_buffdone(void *data) { struct snd_pcm_substream *substream = data;
- struct runtime_data *prtd = substream->runtime->private_data;
- struct runtime_data *prtd;
This should be a BUG_ON() or something rather than just a simple warning - the checks here are redundant, there's no way we should ever end up completing a buffer without an associated runtime.