On Fri, Jun 14, 2024 at 06:08:12PM +0200, Takashi Iwai wrote:
> Mark Brown wrote:

> +++ b/tools/testing/selftests/alsa/mixer-test.c
> @@ -668,6 +668,10 @@ static int write_and_verify(struct ctl_data *ctl,
>               ksft_print_msg("%s read and written values differ\n",
>                              ctl->name);
>  
> +     /* Allow difference for volatile controls */
> +     if (snd_ctl_elem_info_is_volatile(ctl->info))
> +             return 0;
> +
>       return -1;
>  }

That'll still print the warnings about the values differing and won't
check the values are in range...  I'll send a patch.

Attachment: signature.asc
Description: PGP signature

Reply via email to