[PATCH] ASoc: nau8810: add AUX related dapm widgets and routes

Mark Brown broonie at kernel.org
Fri Apr 24 13:27:22 CEST 2020


On Fri, Apr 24, 2020 at 03:17:40PM +0800, Seven Lee wrote:
> This patch implements the following features:
> - AUX input for recording.
> - An input AUX output to SPK/MOUT.

This fails to build with current code, please check and resend:

In file included from /mnt/kernel/sound/soc/codecs/nau8810.c:24:
/mnt/kernel/sound/soc/codecs/nau8810.c:359:3: error: 'NAU8810_AUXSPK_SFT' undeclared here (not in a function); did you mean 'NAU8810_DACSPK_SFT'?
   NAU8810_AUXSPK_SFT, 1, 0),
   ^~~~~~~~~~~~~~~~~~
/mnt/kernel/include/sound/soc.h:33:39: note: in definition of macro 'SOC_DOUBLE_VALUE'
  {.reg = xreg, .rreg = xreg, .shift = shift_left, \
                                       ^~~~~~~~~~
/mnt/kernel/include/sound/soc-dapm.h:293:19: note: in expansion of macro 'SOC_SINGLE_VALUE'
  .private_value = SOC_SINGLE_VALUE(reg, shift, max, invert, 0) }

-------------- 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/20200424/780b49a4/attachment.sig>


More information about the Alsa-devel mailing list