]> git.ipfire.org Git - thirdparty/u-boot.git/commit
dm: sound: wm899c: Split out interface setup code
authorSimon Glass <sjg@chromium.org>
Mon, 3 Dec 2018 11:37:27 +0000 (04:37 -0700)
committerSimon Glass <sjg@chromium.org>
Thu, 13 Dec 2018 23:32:49 +0000 (16:32 -0700)
commitcfbe7623d680235308c46a76c38cc3f08df16889
treea6884945ecc30f4a680abc70fcd6eefb6b4bb06e
parent54e67e27394b997f72f6e2dbab98a11b6cd4c7d9
dm: sound: wm899c: Split out interface setup code

With driver model we want to do a minimal probe when the device is probed
and then set up the codec interface later when a sound is actully played.

Split this setup code out into its own function to help with this.

Signed-off-by: Simon Glass <sjg@chromium.org>
drivers/sound/wm8994.c