usbaudio: fix for out->dev->lock remains locked in error case

out->dev->lock remains locked in error case in out_write()
Added pthread_mutex_unlock() in the error case

Bug: 12824374

Change-Id: Id467e3122008eb8128b42dfc0e9103600c1eef2d
Signed-off-by: Glenn Kasten <gkasten@google.com>
DO NOT MERGE BLE peripheral mode (1/4): change HAL to support service data and service uuids.

Cherry picking ble advertising changes from master to KLP MR2.
b/13137996


Change-Id: I19a3755a4ed16e1ae03368cecee97773c05c1770
Merge "DO NOT MERGE BLE peripheral mode (1/4): change HAL to support service data and service uuids." into klp-dev
Merge tag 'android-4.4.3_r1.1' into HEAD

Android 4.4.3 release 1.1
libhardware: Modify ifdefs for legacy DirectTrack

Change-Id: Id3a8adc3bd3b8fe5973e359b5268671f6fd26cd4
Merge branch 'android-4.4' of https://github.com/omnirom/android_hardware_libhardware into HEAD