commit | 9aa9c525bcb8aa1d789a6cd6e38e171cb4d787bc | [log] [tgz] |
---|---|---|
author | Han Sol Jin <hansol@hansol.ca> | Mon Apr 22 08:55:25 2024 -0700 |
committer | Han Sol Jin <hansol@hansol.ca> | Mon Apr 22 08:55:25 2024 -0700 |
tree | 478c3a325e1afd1d1cee083b82bc4a0d1b5fceb4 | |
parent | 2ad19054cfda9e40657dad731d5a369be45961b2 [diff] |
audio_amplifier: pass amplifier_device pointer to calibrate as well Change-Id: I4b65e0f12aa01fae573658f1b5b58a54471826a8
diff --git a/hal/audio_extn/audio_amplifier.c b/hal/audio_extn/audio_amplifier.c index cb15d2d..0732c88 100644 --- a/hal/audio_extn/audio_amplifier.c +++ b/hal/audio_extn/audio_amplifier.c
@@ -55,7 +55,7 @@ } if (amp.hw->calibrate) { - rc = amp.hw->calibrate(adev); + rc = amp.hw->calibrate(amp.hw, amp.adev); if (rc) { ALOGV("%s: Failed to do amplifier hardware calibration %s\n", __func__, strerror(-rc)); }