mbox series

[v4,0/3] kselftest: alsa: Add basic mixer selftest

Message ID 20211210185410.740009-1-broonie@kernel.org
Headers show
Series kselftest: alsa: Add basic mixer selftest | expand

Message

Mark Brown Dec. 10, 2021, 6:54 p.m. UTC
This series adds a basic selftest for the mixer interface, as discussed
in the cover letter for the main patch there's plenty of additional
coverage that could be added but this is a good starting point.

v4:
 - More stylistic updates suggested by Shuah.
 - Fix build with older alsa-lib.
v3:
 - Pull in incremental updates adding a fixed library configuration from
   Jaroslav and support for volatile controls from Takashi Sakamoto.
 - Stylistic updates suggested by Shuah.
v2:
 - Use pkg-config to get CFLAGS and LDLIBS for alsa-lib.

Jaroslav Kysela (1):
  kselftest: alsa: Use private alsa-lib configuration in mixer test

Mark Brown (1):
  kselftest: alsa: Add simplistic test for ALSA mixer controls kselftest

Takashi Sakamoto (1):
  kselftest: alsa: optimization for SNDRV_CTL_ELEM_ACCESS_VOLATILE

 MAINTAINERS                               |   8 +
 tools/testing/selftests/Makefile          |   3 +-
 tools/testing/selftests/alsa/.gitignore   |   1 +
 tools/testing/selftests/alsa/Makefile     |   9 +
 tools/testing/selftests/alsa/mixer-test.c | 665 ++++++++++++++++++++++
 5 files changed, 685 insertions(+), 1 deletion(-)
 create mode 100644 tools/testing/selftests/alsa/.gitignore
 create mode 100644 tools/testing/selftests/alsa/Makefile
 create mode 100644 tools/testing/selftests/alsa/mixer-test.c


base-commit: fa55b7dcdc43c1aa1ba12bca9d2dd4318c2a0dbf

Comments

Takashi Iwai Dec. 12, 2021, 9:05 a.m. UTC | #1
On Fri, 10 Dec 2021 19:54:07 +0100,
Mark Brown wrote:
> 
> This series adds a basic selftest for the mixer interface, as discussed
> in the cover letter for the main patch there's plenty of additional
> coverage that could be added but this is a good starting point.
> 
> v4:
>  - More stylistic updates suggested by Shuah.
>  - Fix build with older alsa-lib.
> v3:
>  - Pull in incremental updates adding a fixed library configuration from
>    Jaroslav and support for volatile controls from Takashi Sakamoto.
>  - Stylistic updates suggested by Shuah.
> v2:
>  - Use pkg-config to get CFLAGS and LDLIBS for alsa-lib.
> 
> Jaroslav Kysela (1):
>   kselftest: alsa: Use private alsa-lib configuration in mixer test
> 
> Mark Brown (1):
>   kselftest: alsa: Add simplistic test for ALSA mixer controls kselftest
> 
> Takashi Sakamoto (1):
>   kselftest: alsa: optimization for SNDRV_CTL_ELEM_ACCESS_VOLATILE

Thanks, applied now all three patches to for-next branch.


Takashi