ALSA: hda/tas2781: annotate calibration data endianness
authorGergo Koteles <soyer@irl.hu>
Mon, 8 Jan 2024 21:16:46 +0000 (22:16 +0100)
committerTakashi Iwai <tiwai@suse.de>
Tue, 9 Jan 2024 14:13:09 +0000 (15:13 +0100)
commitdcaca1b5f0d47f4ed59f606795df531cc8a2d7d2
tree3d0a5ecaeed15ab949c7586396f8efed205a29a4
parent6b3d14b7f9b1acaf7303d8499836bf78ee9c470c
ALSA: hda/tas2781: annotate calibration data endianness

Sparse reports an endian mismatch.
The amplifier expects the calibration data as big-endian.
Use the __be32 type to express endianness better.

Fixes: c3ca4458cc2f ("ALSA: hda/tas2781: add TAS2563 support for 14ARB7")
Reported-by: kernel test robot <lkp@intel.com>
Closes: https://lore.kernel.org/oe-kbuild-all/202401072137.Oc7pQgRW-lkp@intel.com/
Signed-off-by: Gergo Koteles <soyer@irl.hu>
Link: https://lore.kernel.org/r/3852ff28ea7d5d8f2086d8dd78aeff8d1d984991.1704748435.git.soyer@irl.hu
Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/pci/hda/tas2781_hda_i2c.c