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)
commite65f9ef9f21058a7e4f54e11da1af49a8c1b0579
tree2e7fe0e5ae595c21279468f2bc33e7205d57d5af
parent67b0cda76a19c5fc8a0019cfdc4af9006bfad8d5
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