]> git.baikalelectronics.ru Git - uboot.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)
commit2ec407c2c06309e76e3fe7614ab21b14f8dbd7d3
tree3125c165e781385e391d53a43533d9f03418d5d9
parent6eaa0a285715dac69995606068304045167d7154
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