[U-Boot] [PATCH v2 13/22] dm: sound: Move common code out of maxim98095

sjg at google.com sjg at google.com
Fri Dec 14 15:35:54 UTC 2018


The register-access code is useful for any maxim codec. Move it out into
its own file.

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

Changes in v2:
- Add new patch to move common code out of maxim98095

 drivers/sound/Makefile      |   2 +-
 drivers/sound/max98095.c    | 181 ++++++++++--------------------------
 drivers/sound/max98095.h    |   2 +
 drivers/sound/maxim_codec.c |  87 +++++++++++++++++
 drivers/sound/maxim_codec.h |  67 +++++++++++++
 5 files changed, 204 insertions(+), 135 deletions(-)
 create mode 100644 drivers/sound/maxim_codec.c
 create mode 100644 drivers/sound/maxim_codec.h

Applied to u-boot-dm/master


More information about the U-Boot mailing list