summaryrefslogtreecommitdiff
path: root/drivers/sound/sandbox.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/sound/sandbox.c')
-rw-r--r--drivers/sound/sandbox.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/drivers/sound/sandbox.c b/drivers/sound/sandbox.c
index ee2635f41d..83b3295f0d 100644
--- a/drivers/sound/sandbox.c
+++ b/drivers/sound/sandbox.c
@@ -118,7 +118,10 @@ static int sandbox_i2s_probe(struct udevice *dev)
uc_priv->channels = 2;
uc_priv->id = 1;
- return sandbox_sdl_sound_init();
+ /* Ignore any error here - we'll just have no sound */
+ sandbox_sdl_sound_init();
+
+ return 0;
}
static int sandbox_sound_setup(struct udevice *dev)