Skip to content
Snippets Groups Projects
Commit 3492f84b authored by Han Sol Jin's avatar Han Sol Jin Committed by CLF BBN
Browse files

audio_amplifier: pass amplifier_device pointer to calibrate as well

Change-Id: I4b65e0f12aa01fae573658f1b5b58a54471826a8
parent f9a2a65c
Branches XOS-14.0
No related tags found
No related merge requests found
......@@ -51,7 +51,7 @@ int amplifier_open(void* adev) {
}
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));
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment