On Mon, 5 Dec 2022 at 05:16, Heinrich Schuchardt
<heinrich.schucha...@canonical.com> wrote:
>
> Consider unexpected values for frequency:
>
> * negative frequency
> * zero frequency
> * frequency exceeding sampling frequency
>
> As in these cases the sum of the samples is zero also check the count of
> the samples.
>
> Signed-off-by: Heinrich Schuchardt <heinrich.schucha...@canonical.com>
> ---
>  arch/sandbox/include/asm/test.h | 10 ++++++++++
>  drivers/sound/sandbox.c         |  9 +++++++++
>  test/dm/sound.c                 | 11 +++++++++++
>  3 files changed, 30 insertions(+)

Reviewed-by: Simon Glass <s...@chromium.org>

Reply via email to