[PATCH 1/1] test: test sandbox sound driver more rigorously
Simon Glass
sjg at chromium.org
Sun Dec 4 22:16:43 CET 2022
On Mon, 5 Dec 2022 at 05:16, Heinrich Schuchardt
<heinrich.schuchardt at 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.schuchardt at 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 <sjg at chromium.org>
More information about the U-Boot
mailing list