]> git.dujemihanovic.xyz Git - u-boot.git/commit
dm: sandbox: Allow selection of sample rate and channels
authorSimon Glass <sjg@chromium.org>
Mon, 10 Dec 2018 17:37:50 +0000 (10:37 -0700)
committerSimon Glass <sjg@chromium.org>
Thu, 13 Dec 2018 23:37:09 +0000 (16:37 -0700)
commite221cdcf44c80a6de78fd9285c5325db231ed20c
tree138387d1a785612a1cef0c36c8f7209c2f235df4
parentbc58184ec5013a6ec5bf75a314c08bd7ae24d60b
dm: sandbox: Allow selection of sample rate and channels

At present these parameters are hard-coded in the sdl interface code.
Allow them to be specified by the driver instead.

Signed-off-by: Simon Glass <sjg@chromium.org>
arch/sandbox/cpu/sdl.c
arch/sandbox/include/asm/sdl.h
drivers/sound/sandbox.c