sandbox: sound: Handle errors better in sound_beep()
authorSimon Glass <sjg@chromium.org>
Mon, 3 Feb 2020 14:36:07 +0000 (07:36 -0700)
committerSimon Glass <sjg@chromium.org>
Thu, 6 Feb 2020 02:33:46 +0000 (19:33 -0700)
commit02662480a88413eade86e271671108edecafd01d
tree15690067995434edfc7669d3754633e24aa11eb1
parent3062cd17af35b691582230c382dd125625d3b7ca
sandbox: sound: Handle errors better in sound_beep()

At present an error does not stop the sound-output loop. This is incorrect
since nothing can be gained by trying to continue. Fix it.

Signed-off-by: Simon Glass <sjg@chromium.org>
drivers/sound/sound-uclass.c