[PATCH 4/5] ASoC: simple-card: fix probe failure on platform component
Mark Brown
broonie at kernel.org
Thu Jan 6 14:08:36 CET 2022
On Wed, Jan 05, 2022 at 04:51:45PM -0600, Robert Hancock wrote:
> static int asoc_simple_parse_dai(struct device_node *node,
> struct snd_soc_dai_link_component *dlc,
> + bool is_plat,
> int *is_single_link)
Why not just make a function for platforms given that your change causes
such a huge part of the function to get skipped? This interface is
pretty confusing, if the thing isn't a DAI we probably just shouldn't be
using a function called _parse_dai().
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 488 bytes
Desc: not available
URL: <http://mailman.alsa-project.org/pipermail/alsa-devel/attachments/20220106/2a159dcc/attachment.sig>
More information about the Alsa-devel
mailing list