[alsa-devel] [PATCH] ASoC: dapm: Avoid creating kcontrol for params

Mark Brown broonie at kernel.org
Mon Aug 21 13:00:51 CEST 2017


On Fri, Aug 18, 2017 at 11:39:04PM -0700, yesanishhere at gmail.com wrote:
> From: anish kumar <yesanishhere at gmail.com>
> 
> When num_params is defined as one in case of
> codec to codec dai link, there is no point in
> allocating memory for kcontrol.
> 
> Signed-off-by: anish kumar <yesanishhere at gmail.com>
> ---
>  include/sound/soc-dapm.h |   1 -
>  sound/soc/soc-dapm.c     | 147 ++++++++++++++++++++++++-----------------------

This is a very big change and that commit log doesn't describe it in any
detail or really motivate it.  What exactly does this do and why?
-------------- 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/20170821/8ce2d1d4/attachment.sig>


More information about the Alsa-devel mailing list