ASoC: codecs: Modify the bin file parsing method
authorWeidong Wang <wangweidong.a@awinic.com>
Thu, 9 Nov 2023 09:37:07 +0000 (17:37 +0800)
committerMark Brown <broonie@kernel.org>
Mon, 13 Nov 2023 01:26:12 +0000 (01:26 +0000)
commitfc213b8d4466d1fcf39ab760979be4eac2a67635
tree94ff727c93116c84790b7d6b7ab97137ff0e5c81
parent8df735701a7051825254ec7a12a661307bb7bdc1
ASoC: codecs: Modify the bin file parsing method

Modify the aw88395_lib file so that the bin file
parsing is no longer related to the chip id of the chip.
Adopt the bin file data type "prof_data_type" as the
differentiation between different chip bin file
parsing methods.

Since the chip id macro for the aw88399 is no longer
defined in aw88395_reg.h, define the chip id
for the aw88399 in aw88399.h

Signed-off-by: Weidong Wang <wangweidong.a@awinic.com>
Link: https://lore.kernel.org/r/20231109093708.13155-1-wangweidong.a@awinic.com
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/codecs/aw88395/aw88395_device.h
sound/soc/codecs/aw88395/aw88395_lib.c
sound/soc/codecs/aw88395/aw88395_reg.h
sound/soc/codecs/aw88399.c
sound/soc/codecs/aw88399.h