summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorandroid-build-team Robot <android-build-team-robot@google.com>2019-11-17 00:17:46 +0000
committerandroid-build-team Robot <android-build-team-robot@google.com>2019-11-17 00:17:46 +0000
commit27c4ad39273be05dc875eac24521e23e2653ed89 (patch)
tree56cb73a9204bdf3bd3019b7d5d0eb43ea89f6ce6
parentd9ec40cbfe00cdf6b77eb6deb8cde14f93b8beac (diff)
parent73d6b59977595c1d0a222a1656f298e7991e43b9 (diff)
downloadandroid_hardware_qcom_audio-27c4ad39273be05dc875eac24521e23e2653ed89.tar.gz
android_hardware_qcom_audio-27c4ad39273be05dc875eac24521e23e2653ed89.tar.bz2
android_hardware_qcom_audio-27c4ad39273be05dc875eac24521e23e2653ed89.zip
Snap for 6013205 from 73d6b59977595c1d0a222a1656f298e7991e43b9 to qt-qpr2-release
Change-Id: Iff21574beecab30cf178551e037d60b92d3bdd09
-rw-r--r--hal/audio_hw.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/hal/audio_hw.c b/hal/audio_hw.c
index 58d8f856..1c99066f 100644
--- a/hal/audio_hw.c
+++ b/hal/audio_hw.c
@@ -6282,9 +6282,9 @@ static int adev_verify_devices(struct audio_device *adev)
static int adev_close(hw_device_t *device)
{
size_t i;
- struct audio_device *adev = (struct audio_device *)device;
+ struct audio_device *adev_temp = (struct audio_device *)device;
- if (!adev)
+ if (!adev_temp)
return 0;
pthread_mutex_lock(&adev_init_lock);