Re: [PATCH v5] ASoC: rt766: add RT766/RT767 SDCA driver
Mark Brown <[email protected]> Tue, 4 Aug 2026 16:01:44 +0100
| Newsgroups | gmane.linux.sound |
|---|---|
| Message-ID | <[email protected]> |
--YPNiJMwxd9QLzhqp Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Tue, Aug 04, 2026 at 06:48:28PM +0800, [email protected] wrote: > From: Shuming Fan <[email protected]> >=20 > This patch adds the initial SDCA multi-function codec driver for the RT76= 6 and RT767. This breaks the build: /build/stage/linux/sound/soc/codecs/rt766-sdca.c: In function =E2=80=98rt76= 6_sdca_irq_ct l=E2=80=99: /build/stage/linux/sound/soc/codecs/rt766-sdca.c:240:41: error: implicit de= claration of function =E2=80=98sdca_irq_cleanup_late=E2=80=99; did you mean= =E2=80=98sdca_irq_cleanup=E2=80=99? [-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 =E2=80=98rt76= 6_sdca_probe=E2=80=99: /build/stage/linux/sound/soc/codecs/rt766-sdca.c:858:35: error: implicit de= claration of function =E2=80=98devm_sdca_irq_allocate=E2=80=99; did you mea= n =E2=80=98sdca_irq_allocate=E2=80=99? [-Wimplicit-function-declaration] 858 | rt766->irq_info =3D devm_sdca_irq_allocate(dev, rt7= 66->regmap, rt766->slave->irq); | ^~~~~~~~~~~~~~~~~~~~~~ | sdca_irq_allocate /build/stage/linux/sound/soc/codecs/rt766-sdca.c:858:33: error: assignment = to =E2=80=98struct sdca_interrupt_info *=E2=80=99 from =E2=80=98int=E2=80= =99 makes pointer from integer without a cast [-Wint-conversion] 858 | rt766->irq_info =3D devm_sdca_irq_allocate(dev, rt7= 66->regmap, rt766->slave->irq); | ^ --YPNiJMwxd9QLzhqp Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQEzBAABCgAdFiEEreZoqmdXGLWf4p/qJNaLcl1Uh9AFAmpx/tgACgkQJNaLcl1U h9DF2wf8D8e1acCNX2SNZz9Q6N0ns0i+fbSrfIQqxACbfyDyVkT37CwlRuR8MdEK dC1IT45dRYwnBSBNyIenVIsLyr42ggqSJiZuYDFORGB3O+xp//zPuSr8gQZaHFBG eszn3QR9+qjwgXICLe80FB7xaDS3cdnuJR9zdTsPbFtQ50TUt7nS3z7A5UhgoJBL lKnC40RPsqnHWuOlmvpZyGD7tV4gcp+92XbmBREfO1/Tbkd8yifQhTkecQixnykk LE+MVNSwkEqCDkvg4V6Zu4z+oZfs7Y5wKQ0sSbredIn0Rqbl7EDY0Rmjrk0WomVa OYFiM7XE3D3akrHYTBRHx3UuFRDxQg== =Cjdc -----END PGP SIGNATURE----- --YPNiJMwxd9QLzhqp--