]> git.dujemihanovic.xyz Git - u-boot.git/commit
dm: sound: max98095: Split out interface setup code
authorSimon Glass <sjg@chromium.org>
Mon, 3 Dec 2018 11:37:28 +0000 (04:37 -0700)
committerSimon Glass <sjg@chromium.org>
Thu, 13 Dec 2018 23:32:49 +0000 (16:32 -0700)
commit82a27d2c8ce0bd7bd15636bc79c60344e6c7ca0c
tree3125c165e781385e391d53a43533d9f03418d5d9
parentcfbe7623d680235308c46a76c38cc3f08df16889
dm: sound: max98095: 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/max98095.c