08 May, 2019

1 commit

  • This file is implicitly relying on an instance of including
    module.h from .

    Ideally, header files under include/linux shouldn't be adding
    includes of other headers, in anticipation of their consumers,
    but just the headers needed for the header itself to pass
    parsing with CPP.

    The module.h is particularly bad in this sense, as it itself does
    include a whole bunch of other headers, due to the complexity of
    module support.

    Here, we make the include explicit, in order to allow the future
    removal of module.h from linux/acpi.h without causing build breakage.

    Cc: Liam Girdwood
    Cc: Mark Brown
    Cc: Jaroslav Kysela
    Cc: Takashi Iwai
    Signed-off-by: Paul Gortmaker
    Signed-off-by: Mark Brown

    Paul Gortmaker
     

21 Nov, 2018

1 commit


02 Jul, 2018

1 commit


13 Jan, 2018

1 commit


08 Jan, 2018

2 commits

  • Replace snd_soc_acpi_check_hid() with the generic acpi_dev_present()
    and remove the now unused snd_soc_acpi_check_hid function. This should
    have no functional change.

    Signed-off-by: Jeremy Cline
    Signed-off-by: Pierre-Louis Bossart
    Reviewed-by: Andy Shevchenko
    Signed-off-by: Mark Brown

    Jeremy Cline
     
  • The ACPI/machine-driver code refactoring introduced in 4.13 introduced
    a regression for cases where we need a DMI-based quirk to select the
    machine driver (the BIOS reports an invalid HID). The fix is just to
    make sure the results of the quirk are actually used.

    Fixes: 54746dabf770 ('ASoC: Improve machine driver selection based on quirk data')
    Bugzilla: https://bugzilla.kernel.org/show_bug.cgi?id=96691
    Tested-by: Nicole Færber
    Signed-off-by: Pierre-Louis Bossart
    Signed-off-by: Mark Brown
    Cc: stable@vger.kernel.org

    Pierre-Louis Bossart
     

21 Oct, 2017

1 commit

  • ACPI support is not specific to the Intel/SST driver. Move the enumeration
    and matching code which is not hardware-dependent to sound/soc and rename
    relevant sst_acpi_ structures and functions with snd_soc_acpi_ prefix

    soc-acpi.h is protected by a #ifndef __LINUX_SND_SOC_ACPI_H for
    consistency with all other SoC .h files:

    grep -L __LINUX include/sound/soc* | wc -l
    0
    grep __LINUX include/sound/soc* | wc -l
    14

    Signed-off-by: Pierre-Louis Bossart
    Acked-by: Liam Girdwood
    Signed-off-by: Mark Brown

    Pierre-Louis Bossart