[U-Boot] [PATCH 10/30] dm: sound: wm8994: Create a new common init function

sjg at google.com sjg at google.com
Sun Dec 9 23:23:22 UTC 2018


With driver model we cannot pass in the global struct, but instead want
to pass in the driver-private data. Split some of the code out of
wm8994_init() to handle this.

Signed-off-by: Simon Glass <sjg at chromium.org>
---

 drivers/sound/wm8994.c | 56 +++++++++++++++++++++++++-----------------
 1 file changed, 33 insertions(+), 23 deletions(-)

Applied to u-boot-dm/master


More information about the U-Boot mailing list