am 5f24fd93: alsa_sound: fix watchdog error issue
* commit '5f24fd93afdcc66bfd9246a0e0000c0fd7283b7f':
alsa_sound: fix watchdog error issue
diff --git a/alsa_sound/AudioStreamOutALSA.cpp b/alsa_sound/AudioStreamOutALSA.cpp
index c9ea6b5..49c0581 100644
--- a/alsa_sound/AudioStreamOutALSA.cpp
+++ b/alsa_sound/AudioStreamOutALSA.cpp
@@ -185,7 +185,7 @@
if(mHandle->handle == NULL) {
ALOGE("write:: device open failed");
mParent->mLock.unlock();
- return 0;
+ return bytes;
}
#ifdef QCOM_USBAUDIO_ENABLED
if((mHandle->devices == AudioSystem::DEVICE_IN_ANLG_DOCK_HEADSET)||