On Tue, Sep 19, 2023 at 06:57:21PM +0800, wangweidong.a@awinic.com wrote:
From: Weidong Wang wangweidong.a@awinic.com
Add aw87390 compatible code to the aw88395_lib.c file so that it can parse aw87390's bin file Modify the function return value
This breaks an x86 allmodconfig build:
/build/stage/linux/sound/soc/codecs/aw88395/aw88395.c: In function ‘aw88395_prof ile_info’: /build/stage/linux/sound/soc/codecs/aw88395/aw88395.c:199:21: error: too few arg uments to function ‘aw88395_dev_get_prof_name’ 199 | prof_name = aw88395_dev_get_prof_name(aw88395->aw_pa, count); | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /build/stage/linux/sound/soc/codecs/aw88395/aw88395.c:17: /build/stage/linux/sound/soc/codecs/aw88395/aw88395_device.h:184:5: note: declar ed here 184 | int aw88395_dev_get_prof_name(struct aw_device *aw_dev, int index, char **prof_name); | ^~~~~~~~~~~~~~~~~~~~~~~~~