]> git.dujemihanovic.xyz Git - u-boot.git/commit
sound: Correct data output in sound_create_square_wave()
authorSimon Glass <sjg@chromium.org>
Fri, 16 Nov 2018 02:56:12 +0000 (19:56 -0700)
committerSimon Glass <sjg@chromium.org>
Thu, 29 Nov 2018 16:30:05 +0000 (09:30 -0700)
commit03f11e87a86307903f40e74495936184063bab79
tree0fbb00caa8755dafa8fe261942bb03c5409cfe70
parent68c81fb6658bb2b8818d73f52788ea54322acb93
sound: Correct data output in sound_create_square_wave()

This function currently outputs twice as much data as it should and
overwrites its buffer as a result. Fix it.

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