
On Wed, Feb 12, 2025 at 10:55:58PM +0800, Shenghao Ding wrote:
For calibration, basic version does not contain any calibration addresses, it depends on calibration tool to convery the addresses to the driver. Since Alpha and Beta firmware, all the calibration addresses are saved into the firmware.
This breaks an x86 allmodconfig build:
/build/stage/linux/sound/pci/hda/tas2781_spi_fwlib.c:373:37: error: ‘PPC3_VERSIO N_TAS2781’ undeclared (first use in this function); did you mean ‘PPC3_VERSION_B ASE’? 373 | if (fw_fixed_hdr->ppcver >= PPC3_VERSION_TAS2781) { | ^~~~~~~~~~~~~~~~~~~~ | PPC3_VERSION_BASE /build/stage/linux/sound/pci/hda/tas2781_spi_fwlib.c:373:37: note: each undeclar ed identifier is reported only once for each function it appears in /build/stage/linux/sound/pci/hda/tas2781_spi_fwlib.c:376:44: error: ‘PPC3_VERSIO N’ undeclared (first use in this function); did you mean ‘GCC_VERSION’? 376 | } else if (fw_fixed_hdr->ppcver >= PPC3_VERSION) { | ^~~~~~~~~~~~ | GCC_VERSION /build/stage/linux/sound/pci/hda/tas2781_spi_fwlib.c: In function ‘dspfw_default_callback’: /build/stage/linux/sound/pci/hda/tas2781_spi_fwlib.c:1608:31: error: ‘PPC3_VERSION’ undeclared (first use in this function); did you mean ‘GCC_VERSION’? 1608 | if (ppcver >= PPC3_VERSION) { | ^~~~~~~~~~~~ | GCC_VERSION