Re: [PATCH v5] ASoC: rt766: add RT766/RT767 SDCA driver
Charles Keepax <[email protected]> Tue, 4 Aug 2026 16:55:26 +0100
| Newsgroups | org.kernel.vger.linux-sound |
|---|---|
| Message-ID | <[email protected]> |
On Tue, Aug 04, 2026 at 04:01:44PM +0100, Mark Brown wrote: > On Tue, Aug 04, 2026 at 06:48:28PM +0800, [email protected] wrote: > > From: Shuming Fan <[email protected]> > > > > This patch adds the initial SDCA multi-function codec driver for the RT766 and RT767. > > This breaks the build: > > /build/stage/linux/sound/soc/codecs/rt766-sdca.c: In function ‘rt766_sdca_irq_ct > l’: > /build/stage/linux/sound/soc/codecs/rt766-sdca.c:240:41: error: implicit declaration of function ‘sdca_irq_cleanup_late’; did you mean ‘sdca_irq_cleanup’? [-Wimplicit-function-declaration] > 240 | sdca_irq_cleanup_late(dev, function, info); > | ^~~~~~~~~~~~~~~~~~~~~ > | sdca_irq_cleanup > /build/stage/linux/sound/soc/codecs/rt766-sdca.c: In function ‘rt766_sdca_probe’: > /build/stage/linux/sound/soc/codecs/rt766-sdca.c:858:35: error: implicit declaration of function ‘devm_sdca_irq_allocate’; did you mean ‘sdca_irq_allocate’? [-Wimplicit-function-declaration] > 858 | rt766->irq_info = devm_sdca_irq_allocate(dev, rt766->regmap, rt766->slave->irq); > | ^~~~~~~~~~~~~~~~~~~~~~ > | sdca_irq_allocate > /build/stage/linux/sound/soc/codecs/rt766-sdca.c:858:33: error: assignment to ‘struct sdca_interrupt_info *’ from ‘int’ makes pointer from integer without a cast [-Wint-conversion] > 858 | rt766->irq_info = devm_sdca_irq_allocate(dev, rt766->regmap, rt766->slave->irq); > | ^ > I think this might just be a topic branches thing, those functions were introduced by my recent series which should be in your tree: https://lore.kernel.org/linux-sound/178517447302.50339.1499803314056469107.b4-ty@b4/ Thanks, Charles