[alsa-devel] [PATCH v2 0/3] ACPI, ASoC, gpio: Introduce and use acpi_dev_get_dev_name()
Andy Shevchenko
andriy.shevchenko at linux.intel.com
Thu Jan 4 17:47:06 CET 2018
It appears that at least one current user (patch 2) and upcoming one
(patch 3) need to get device name by ACPI HID.
Here we introduce acpi_dev_get_dev_name() based on code done for
acpi_dev_present() and reuse it where appropriate.
The series has been tested on Intel Edison with ACPI enabled U-Boot,
while patch 2 wasn't tested anyhow (Pierre, can you help with it?).
Since patch 1 and cross subsystem nature of the series I think the best
way is to push this via Rafael's linux-pm tree.
In worst case, if, Rafael, you have no objection, push at least first
patch for this cycle to allow utilization in the future.
Andy Shevchenko (3):
ACPI / utils: Introduce acpi_dev_get_dev_name()
ASoC: Intel - Convert users to use acpi_dev_get_dev_name()
gpio: merrifield: Add support of ACPI enabled platforms
drivers/acpi/utils.c | 40 +++++++++++++++++++++++++++------
drivers/gpio/gpio-merrifield.c | 11 ++++++++-
include/acpi/acpi_bus.h | 1 +
include/linux/acpi.h | 6 +++++
include/sound/soc-acpi.h | 7 ------
sound/soc/intel/boards/bytcht_da7213.c | 2 +-
sound/soc/intel/boards/bytcr_rt5640.c | 2 +-
sound/soc/intel/boards/bytcr_rt5651.c | 2 +-
sound/soc/intel/boards/cht_bsw_rt5645.c | 2 +-
sound/soc/intel/boards/cht_bsw_rt5672.c | 2 +-
sound/soc/soc-acpi.c | 33 ---------------------------
11 files changed, 55 insertions(+), 53 deletions(-)
--
2.15.1
More information about the Alsa-devel
mailing list