audio_amplifier: pass amplifier_device pointer to calibrate as well

Change-Id: I337c332bdd052354b99038fc2f62f1b01f8e4301
This commit is contained in:
Han Sol Jin 2024-04-22 08:53:46 -07:00 committed by zlewchan
parent e00647eaa3
commit d5c092e0bb

View file

@ -136,7 +136,8 @@ typedef struct amplifier_device {
/**
* Amplifier calibration
*/
int (*calibrate)(void *adev);
int (*calibrate)(struct amplifier_device *device,
void *adev);
} amplifier_device_t;
typedef struct amplifier_module {