]> git.baikalelectronics.ru Git - uboot.git/commit
sound: Mark sound_setup() as optional
authorSimon Glass <sjg@chromium.org>
Sun, 17 Feb 2019 03:24:53 +0000 (20:24 -0700)
committerBin Meng <bmeng.cn@gmail.com>
Wed, 20 Feb 2019 07:27:08 +0000 (15:27 +0800)
commit8380c0586eeca4136131d58d9b0dae58a965de0f
tree2e7fe0e5ae595c21279468f2bc33e7205d57d5af
parentd3c3e0b0845cc6a57e33268e908c84b0458bd71c
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>
drivers/sound/sound-uclass.c
include/sound.h