dm: sound: Add conversion to driver model
[oweals/u-boot.git] / drivers / sound / sandbox.c
index ee2635f41d256ad402d0e17ac399fe7ca584f24a..83b3295f0d4fbf3199c0b8b4bb7c8fe43f87f099 100644 (file)
@@ -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)