> -----Original Message----- > From: Andy Shevchenko <andriy.shevchenko@xxxxxxxxxxxxxxx> > Sent: Friday, May 10, 2024 11:13 PM > To: Ding, Shenghao <shenghao-ding@xxxxxx> > Cc: broonie@xxxxxxxxxx; lgirdwood@xxxxxxxxx; perex@xxxxxxxx; pierre- > louis.bossart@xxxxxxxxxxxxxxx; 13916275206@xxxxxxx; alsa-devel@alsa- > project.org; linux-kernel@xxxxxxxxxxxxxxx; liam.r.girdwood@xxxxxxxxx; > bard.liao@xxxxxxxxx; yung-chuan.liao@xxxxxxxxxxxxxxx; Lu, Kevin <kevin- > lu@xxxxxx>; cameron.berkenpas@xxxxxxxxx; tiwai@xxxxxxx; Xu, Baojun > <baojun.xu@xxxxxx>; soyer@xxxxxx; Baojun.Xu@xxxxxxx > Subject: [EXTERNAL] Re: [PATCH v4 1/3] ALSA: ASoc/tas2781: Fix wrong loading > calibrated data sequence > > 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 > ZjQcmQRYFpfptBannerStart This message was sent from outside of Texas > Instruments. > Do not click links or open attachments unless you recognize the source of this > email and know the content is safe. If you wish to report this message to IT > Security, please forward the message as an attachment to phishing@xxxxxxxxxxx > > ZjQcmQRYFpfptBannerEnd > 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. > > > > Fixes: ef3bcde75d06 ("ASoc: tas2781: Add tas2781 driver") > > How on earth this can be a fix?.. Removing the declaration of tasdevice_prmg_calibdata_load is a part of fix. Loading calibrated data after loading dsp program become a redundance. > > > -// Copyright (C) 2022 - 2023 Texas Instruments Incorporated > > +// Copyright (C) 2022 - 2024 Texas Instruments Incorporated > ... > > -int tasdevice_prmg_calibdata_load(void *context, int prm_no); > > -- > With Best Regards, > Andy Shevchenko >