diff options
author | Dan Pasanen <dan.pasanen@gmail.com> | 2015-08-10 19:47:43 -0500 |
---|---|---|
committer | Matt Mower <mowerm@gmail.com> | 2016-06-21 12:31:28 -0500 |
commit | 2d69794ff3c31a62a4927b3f51e0d82b4b63c2cb (patch) | |
tree | bbda6af3d6f37822b86b1dbe37a77cb58c6faaf2 | |
parent | dfe21b6231767c92d3c3746c34d3afab6dc03804 (diff) | |
download | hardware_qcom_audio-2d69794ff3c31a62a4927b3f51e0d82b4b63c2cb.tar.gz hardware_qcom_audio-2d69794ff3c31a62a4927b3f51e0d82b4b63c2cb.tar.bz2 hardware_qcom_audio-2d69794ff3c31a62a4927b3f51e0d82b4b63c2cb.zip |
hal: enable amplifier earlier
Change-Id: Id876e8f836e3ce1ee5f8186ca9c0e6ef5f37182c
-rw-r--r-- | hal/audio_hw.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/hal/audio_hw.c b/hal/audio_hw.c index b3f6c48b..cd748090 100644 --- a/hal/audio_hw.c +++ b/hal/audio_hw.c @@ -3403,11 +3403,11 @@ static int adev_open(const hw_module_t *module, const char *name, } } - *device = &adev->device.common; - if (amplifier_open() != 0) ALOGE("Amplifier initialization failed"); + *device = &adev->device.common; + audio_device_ref_count++; char value[PROPERTY_VALUE_MAX]; |