work->cmd = BCM2835_AUDIO_START;
if (queue_work(alsa_stream->my_wq, &work->my_work))
ret = 0;
- } else
+ } else {
LOG_ERR(" .. Error: NULL work kmalloc\n");
+ }
}
LOG_DBG(" .. OUT %d\n", ret);
return ret;
work->cmd = BCM2835_AUDIO_STOP;
if (queue_work(alsa_stream->my_wq, &work->my_work))
ret = 0;
- } else
+ } else {
LOG_ERR(" .. Error: NULL work kmalloc\n");
+ }
}
LOG_DBG(" .. OUT %d\n", ret);
return ret;
work->count = count;
if (queue_work(alsa_stream->my_wq, &work->my_work))
ret = 0;
- } else
+ } else {
LOG_ERR(" .. Error: NULL work kmalloc\n");
+ }
}
LOG_DBG(" .. OUT %d\n", ret);
return ret;