Re: [PATCH v3 2/7] ASoC: apple: mca: Separate data & clock port setup

Mark Brown <[email protected]> Fri, 10 Jul 2026 21:41:06 +0100
Newsgroups dev.linux.lists.asahi,org.kernel.vger.linux-kernel,org.kernel.vger.linux-sound
Message-ID <[email protected]>
On Sun, Jul 05, 2026 at 01:37:51PM +1000, James Calligeros wrote:
> From: Martin Povišer <[email protected]>
> 
> Up until now FEs were always the clock providers -- feeding the clocks
> on any ports (BEs) they are attached to. This will soon change and FEs
> will be allowed to be clock consumers. Once that happens, the routing
> of clocks and data will to some degree decouple.
> 
> In advance of the change, make preparations:
> 
>  * Narrow down semantics of what was formerly the 'port_driver' field
>    to refer to clocks only.
> 
>  * On 'startup' of BEs, separate the clock and data aspects of the port
>    setup.

This breaks the build:

/build/stage/linux/sound/soc/apple/mca.c: In function ‘mca_be_hw_free’:
/build/stage/linux/sound/soc/apple/mca.c:363:17: error: ‘struct mca_cluster’ has
 no member named ‘port_driver’; did you mean ‘port_clk_driver’?
  363 |         if (cl->port_driver < 0)
      |                 ^~~~~~~~~~~
      |                 port_clk_driver
/build/stage/linux/sound/soc/apple/mca.c:371:36: error: ‘struct mca_cluster’ has
 no member named ‘port_driver’; did you mean ‘port_clk_driver’?
  371 |         fe_cl = &mca->clusters[cl->port_driver];
      |                                    ^~~~~~~~~~~
      |                                    port_clk_driver
signature.asc (application/pgp-signature, 488 B)
-----BEGIN PGP SIGNATURE-----

iQEzBAABCgAdFiEEreZoqmdXGLWf4p/qJNaLcl1Uh9AFAmpRWOEACgkQJNaLcl1U
h9CI8Af/ZsomKI6ewAH8Ex2lNNo0XXLmz25XVk/ousp7dZn/cPNgepsNMUUdO/b2
zbk2YPNJnQ2h7LTAfAMYEVPdPefDnZe95TMoCkmOMTvmA5StnwogTZ1qdrAVvJM9
BKfsT6xzwuUo0DtIDN/ubDvg62Y4Z1mH0UQj5EHZ5XFoIslrSpGaOz/7RaufyqM7
BSQYO+OJk6JgIbKvZRPqKasFR/fRpKDusX6mpGja3vpZgW8FvtA9tK1GGRKYd79Q
JXPaAoq+0JhtYnZz8TTttONBBK+BvhjmhA5jXZ2OSVKpYimX/k3DBOhPMmIvTcLL
fT1H8RZFQZeM2CMVLZwTl92LUDEflw==
=S83u
-----END PGP SIGNATURE-----