summaryrefslogtreecommitdiff
path: root/include/sound.h
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2019-02-16 20:24:53 -0700
committerBin Meng <bmeng.cn@gmail.com>2019-02-20 15:27:08 +0800
commite65f9ef9f21058a7e4f54e11da1af49a8c1b0579 (patch)
tree2e7fe0e5ae595c21279468f2bc33e7205d57d5af /include/sound.h
parent67b0cda76a19c5fc8a0019cfdc4af9006bfad8d5 (diff)
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 <sjg@chromium.org> Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
Diffstat (limited to 'include/sound.h')
-rw-r--r--include/sound.h2
1 files changed, 1 insertions, 1 deletions
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);