commit | 609756a25ca9a717961200e17356712a7b63052a | [log] [tgz] |
---|---|---|
author | Han Sol Jin <hansol@hansol.ca> | Mon Apr 22 08:53:46 2024 -0700 |
committer | Tim Zimmermann <tim@linux4.de> | Wed May 29 10:16:29 2024 +0200 |
tree | e2814289e0b77186c0f8f671392e702f61e21d5f | |
parent | debe1866c25a12f53e46afa120b74aadb4bea8d8 [diff] |
audio_amplifier: pass amplifier_device pointer to calibrate as well Change-Id: I337c332bdd052354b99038fc2f62f1b01f8e4301
diff --git a/include_all/hardware/audio_amplifier.h b/include_all/hardware/audio_amplifier.h index 4b6f634..39589e2 100644 --- a/include_all/hardware/audio_amplifier.h +++ b/include_all/hardware/audio_amplifier.h
@@ -136,7 +136,8 @@ /** * Amplifier calibration */ - int (*calibrate)(void *adev); + int (*calibrate)(struct amplifier_device *device, + void *adev); } amplifier_device_t; typedef struct amplifier_module {