commit | 3492f84ba901e135bc3fa66fbdd0ddd8bfd75be5 | [log] [tgz] |
---|---|---|
author | Han Sol Jin <hansol@hansol.ca> | Mon Apr 22 08:55:25 2024 -0700 |
committer | CLF BBN <clfbbn@gmail.com> | Mon Apr 22 17:10:27 2024 +0000 |
tree | fb7ea0ed60973008f5e2f3b3dbc116f1105cdc9e | |
parent | f9a2a65c2e0e984b4302141e5c7a3213d34ae658 [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 2494ed3..87f660c 100644 --- a/hal/audio_extn/audio_amplifier.c +++ b/hal/audio_extn/audio_amplifier.c
@@ -51,7 +51,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)); }