Re: [PATCH v4 1/3] ALSA: ASoc/tas2781: Fix wrong loading calibrated data sequence
From: Mark Brown
Date: Fri May 10 2024 - 02:11:38 EST
On Fri, May 10, 2024 at 11:41:19AM +0800, Shenghao Ding wrote:
> Calibrated data will be set to default after loading DSP config params,
> which will cause speaker protection work abnormally. Reload calibrated
> data after loading DSP config params.
This changelog...
> -#ifndef __TASDEVICE_DSP_H__
> -#define __TASDEVICE_DSP_H__
> +#ifndef __TAS2781_DSP_H__
> +#define __TAS2781_DSP_H__
>
> #define MAIN_ALL_DEVICES 0x0d
> #define MAIN_DEVICE_A 0x01
> @@ -180,7 +180,6 @@ void tasdevice_calbin_remove(void *context);
> int tasdevice_select_tuningprm_cfg(void *context, int prm,
> int cfg_no, int rca_conf_no);
> int tasdevice_prmg_load(void *context, int prm_no);
> -int tasdevice_prmg_calibdata_load(void *context, int prm_no);
> void tasdevice_tuning_switch(void *context, int state);
> int tas2781_load_calibration(void *context, char *file_name,
> unsigned short i);
...doesn't seem to have much relationship with the change?
Attachment:
signature.asc
Description: PGP signature