diff --git a/dsp/adsprpc.c b/dsp/adsprpc.c old mode 100755 new mode 100644 index 5dc4d81d3a..65f0df3e56 --- a/dsp/adsprpc.c +++ b/dsp/adsprpc.c @@ -714,8 +714,8 @@ static void fastrpc_buf_free(struct fastrpc_buf *buf, int cache) } hlist_add_head(&buf->hn, &fl->cached_bufs); fl->num_cached_buf++; - spin_unlock(&fl->hlock); buf->type = -1; + spin_unlock(&fl->hlock); return; } skip_buf_cache: