[alsa-devel] [PATCH v2 0/3] ACPI, ASoC, gpio: Introduce and use acpi_dev_get_dev_name()

Pierre-Louis Bossart pierre-louis.bossart at linux.intel.com
Thu Jan 4 18:33:33 CET 2018


On 1/4/18 10:47 AM, Andy Shevchenko wrote:
> 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?).

Yes I'll try to test later this week. I just have to figure out which of 
my devices needs this (been a while since I worked on this).

> 
> 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(-)
> 



More information about the Alsa-devel mailing list