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

Signed-off-by: Simon Glass <s...@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
_______________________________________________
U-Boot mailing list
U-Boot@lists.denx.de
https://lists.denx.de/listinfo/u-boot

Reply via email to