[U-Boot] [PATCH v2 22/22] dm: sound: Use the correct number of channels for sound
sjg at google.com
sjg at google.com
Fri Dec 14 15:35:41 UTC 2018
At present the 'beep' sound generates a waveform for only one channel even
if two are being used. This means that the beep is twice the frequency it
should be. Correct this by making it a parameter.
The fix in a previous commit was correct for sandbox but not for other
boards.
Fixes: 03f11e87a8 ("sound: Correct data output in sound_create_square_wave()")
Signed-off-by: Simon Glass <sjg at chromium.org>
---
Changes in v2:
- Add new patch to use the correct number of channels for sound
drivers/sound/sound-uclass.c | 2 +-
drivers/sound/sound.c | 11 +++++++----
include/sound.h | 11 ++++++-----
3 files changed, 14 insertions(+), 10 deletions(-)
Applied to u-boot-dm/master
More information about the U-Boot
mailing list