Diff between 946d78cd078db1a4c32dbb25108fbe8dd30f079c and d7f381df6fbf697510c094fc4f435a07e2676c63
Changed Files
| File | Additions | Deletions | Status |
| android/hal-sco.c | +2 | -4 | modified |
Full Patch
diff --git a/android/hal-sco.c b/android/hal-sco.c
index 1627b83..472c7e8 100644
--- a/android/hal-sco.c
+++ b/android/hal-sco.c
@@ -632,10 +632,8 @@ static int sco_open_output_stream(struct audio_hw_device *dev,
return -EIO;
}
- if (ipc_connect_sco() != SCO_STATUS_SUCCESS) {
- error("sco: cannot get fd");
- return -EIO;
- }
+ if (ipc_connect_sco() != SCO_STATUS_SUCCESS)
+ DBG("SCO is not connected yet; get fd on write()");
out = calloc(1, sizeof(struct sco_stream_out));
if (!out)