From e65f9ef9f21058a7e4f54e11da1af49a8c1b0579 Mon Sep 17 00:00:00 2001 From: Simon Glass Date: Sat, 16 Feb 2019 20:24:53 -0700 Subject: sound: Mark sound_setup() as optional This method in the sound API is optional since some drivers can do this when probing or as part of SoC init. Mark it as such. Signed-off-by: Simon Glass Reviewed-by: Bin Meng --- include/sound.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'include/sound.h') diff --git a/include/sound.h b/include/sound.h index b7959cc260..7d528c479e 100644 --- a/include/sound.h +++ b/include/sound.h @@ -54,7 +54,7 @@ void sound_create_square_wave(uint sample_rate, unsigned short *data, int size, /* Operations for sound */ struct sound_ops { /** - * setup() - Set up to play a sound + * setup() - Set up to play a sound (optional) */ int (*setup)(struct udevice *dev); -- cgit