commit | 51aa860eb164c42074894d434a8a4a5c96a22633 | [log] [tgz] |
---|---|---|
author | Simon Glass <sjg@chromium.org> | Mon Dec 10 10:37:51 2018 -0700 |
committer | Simon Glass <sjg@chromium.org> | Thu Dec 13 16:37:10 2018 -0700 |
tree | 9d4f5d9b057a749742e9dcead3cfa41c4ddae5ea | |
parent | 658a874ff7bb08bbfa5d1a32087732f185be2f73 [diff] |
dm: sound: Use the correct number of channels for sound 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@chromium.org>