commit | d32dc8de258d7d7016d48fca35d69da81553d7eb | [log] [tgz] |
---|---|---|
author | Linux Build Service Account <lnxbuild@localhost> | Sat Nov 22 01:54:50 2014 -0800 |
committer | Gerrit - the friendly Code Review server <code-review@localhost> | Sat Nov 22 01:54:50 2014 -0800 |
tree | d229cd1a83b575f2c2ae3a3996a5722b35303483 | |
parent | cccf5f39215ca2dee04f8d20f5937db9ab4d89db [diff] | |
parent | 2f89cfa059b201659f48402e3325fff1c3ee3350 [diff] |
Merge "hal: Check for multiple offload usecases"
diff --git a/hal/audio_hw.c b/hal/audio_hw.c index fef38c0..4e33dfb 100644 --- a/hal/audio_hw.c +++ b/hal/audio_hw.c
@@ -2028,7 +2028,7 @@ { struct stream_out *out = (struct stream_out *)stream; if (is_offload_usecase(out->usecase) && (dsp_frames != NULL)) { - ssize_t ret = -EINVAL; + ssize_t ret = 0; *dsp_frames = 0; pthread_mutex_lock(&out->lock); if (out->compr != NULL) {