Re: [PATCH] ASoC: codecs: wcd938x: remove incorrect module interdependency
From: Mark Brown
Date: Tue Jun 15 2021 - 08:35:32 EST
On Tue, Jun 15, 2021 at 10:48:39AM +0100, Srinivas Kandagatla wrote:
> For some reason we ended up with cyclic dependency between snd_soc_wcd938x
> and snd_soc_wcd938x_sdw modules.
>
> Remove this cyclic dependency by handling them in respective modules.
> Without this below error is reported during make modules_install
This breaks an x86 allmodconfig build:
/mnt/kernel/sound/soc/codecs/wcd938x-sdw.c: In function 'wcd9380_interrupt_callback':
/mnt/kernel/sound/soc/codecs/wcd938x-sdw.c:184:3: error: implicit declaration of function 'handle_nested_irq' [-Werror=implicit-function-declaration]
handle_nested_irq(irq_find_mapping(slave_irq, 0));
^~~~~~~~~~~~~~~~~
Attachment:
signature.asc
Description: PGP signature