Re: [PATCH 3/7] ASoC: cs43130: Allow configuration of bit clock and frame inversion

From: Mark Brown
Date: Fri Nov 17 2023 - 15:21:13 EST


On Fri, Nov 17, 2023 at 02:13:40PM +0000, Maciej Strozek wrote:
> Signed-off-by: Maciej Strozek <mstrozek@xxxxxxxxxxxxxxxxxxxxx>

This breaks an x86 allmodconfig build:

In file included from /build/stage/linux/include/linux/device.h:15,
from /build/stage/linux/include/linux/platform_device.h:13,
from /build/stage/linux/sound/soc/codecs/cs43130.c:16:
/build/stage/linux/sound/soc/codecs/cs43130.c: In function ‘cs43130_pcm_set_fmt’
:
/build/stage/linux/sound/soc/codecs/cs43130.c:1519:32: error: ‘struct cs43130_pr
ivate’ has no member named ‘dev’
1519 | dev_err(cs43130->dev, "Unsupported invert mode 0x%x\n",
| ^~
/build/stage/linux/include/linux/dev_printk.h:110:25: note: in definition of mac
ro ‘dev_printk_index_wrap’
110 | _p_func(dev, fmt, ##__VA_ARGS__);
\
| ^~~
/build/stage/linux/sound/soc/codecs/cs43130.c:1519:17: note: in expansion of macro ‘dev_err’
1519 | dev_err(cs43130->dev, "Unsupported invert mode 0x%x\n",
| ^~~~~~~

Attachment: signature.asc
Description: PGP signature