Re: [PATCH v1 2/2] ASoC: sdw_utils: add spk component string for tac5xx2 family

Mark Brown <[email protected]>
Newsgroups gmane.linux.sound,gmane.linux.kernel
Message-ID <[email protected]>
On Wed, Aug 19, 2026 at 11:04:27AM +0530, Niranjan H Y wrote:
>   The tac5xx2 RTD init does not populate card->components with the
> spk:<prefix> string. With this change, "amixer -D hw:<card> info"
> includes the spk identifier for each tac5xx2 speaker component,
> following the same pattern used by other codec families.

> +	card->components = devm_kasprintf(card->dev, GFP_KERNEL,
> +					  "%s spk:%s", card->components,
> +					  dai->component->name_prefix);
> +	if (!card->components)
> +		return -ENOMEM;

See 0f60ecffbfe3 (ASoC: sdw_utils: generate combined spk components
string) for how other drivers do the same thing.
signature.asc (application/pgp-signature, 488 B)
-----BEGIN PGP SIGNATURE-----

iQEzBAABCgAdFiEEreZoqmdXGLWf4p/qJNaLcl1Uh9AFAmqFtLkACgkQJNaLcl1U
h9B3Pwf/QHWUmakw0YQ2MROe0wPcdjsn3/wZhxom7H63m2ZMqjaO/8MPXLDnx398
xEXA/2y1vD/vCAIa54mNg8CQxjQw1+TAWKEB4VViOmLd3+ZxzehsxWoKXGzXpe6c
tWslXOtU5KgJghLhDbAZq9wj2YvFVeR+bSkLcrJQKUL++49LZYnT721csPIaOOqF
PofaSE5IT9fOB9TcWxaGLGzNHqysHoono8pJ713UAirSONeqTB4mv55vVZIpxVpw
Bn/M9hXXx+TuerUmVC/UbgPZHaA2UMaACywlKPxm5zrRlYylIhCZqGnulzXyLylu
Lsa0R3BprRZ4JFgOCmjBGppZT7Z9nA==
=erQq
-----END PGP SIGNATURE-----
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.