]> www.infradead.org Git - users/dwmw2/linux.git/commit
ACPI/ALSA/soundwire: add acpi_get_local_u64_address()
authorMark Brown <broonie@kernel.org>
Mon, 10 Jun 2024 21:49:29 +0000 (22:49 +0100)
committerMark Brown <broonie@kernel.org>
Mon, 10 Jun 2024 21:49:29 +0000 (22:49 +0100)
commit40751808803b78f6dda7f39e6717eb9dc8c5c309
tree1123477260691caec97c014ee96b947d51482931
parentcb0ab6400987decc3f205606c2e96198eef6bc67
parent9b7dc68eeba04d20f4a1733e791bc71355423612
ACPI/ALSA/soundwire: add acpi_get_local_u64_address()

Merge series from Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>:

The acpi_get_local_address() helper assumes a 32-bit ADR is used. If
we want to use this helper for SoundWire/SDCA ASoC codecs, we need an
extension where the native 64-bits are used. This patchset suggests a
new helper, acpi_get_local_address() may be renamed if desired in a
folow-up patch.

The path of least resistance would be to merge this patchset in the
ASoC tree, since I have additional changes for ASoC/SDCA (SoundWire
Device Class) that depend on the new helper.

Pierre-Louis Bossart (3):
  ACPI: utils: introduce acpi_get_local_u64_address()
  soundwire: slave: simplify code with acpi_get_local_u64_address()
  ALSA: hda: intel-sdw-acpi: use acpi_get_local_u64_address()

 drivers/acpi/utils.c       | 22 ++++++++++++++++------
 drivers/soundwire/slave.c  | 13 ++++---------
 include/linux/acpi.h       |  1 +
 sound/hda/intel-sdw-acpi.c |  6 +++---
 4 files changed, 24 insertions(+), 18 deletions(-)

--
2.43.0