]> git.baikalelectronics.ru Git - uboot.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)
commit6eaa0a285715dac69995606068304045167d7154
treea6884945ecc30f4a680abc70fcd6eefb6b4bb06e
parent37fd1f51fb4a441b0b85e55cd59dbf43c7f3879c
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