Re: [PATCH V4 4/7] ASoC: codecs: Add code for bin parsing compatible with aw87390

From: Mark Brown
Date: Mon Sep 25 2023 - 10:06:24 EST


On Tue, Sep 19, 2023 at 06:57:21PM +0800, wangweidong.a@xxxxxxxxxx wrote:
> From: Weidong Wang <wangweidong.a@xxxxxxxxxx>
>
> 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);
| ^~~~~~~~~~~~~~~~~~~~~~~~~

Attachment: signature.asc
Description: PGP signature