Snap for 6013205 from 73d6b59977595c1d0a222a1656f298e7991e43b9 to qt-qpr2-release
Change-Id: Iff21574beecab30cf178551e037d60b92d3bdd09
diff --git a/hal/audio_hw.c b/hal/audio_hw.c
index 58d8f85..1c99066 100644
--- a/hal/audio_hw.c
+++ b/hal/audio_hw.c
@@ -6282,9 +6282,9 @@
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);