Skip to content
  1. Feb 03, 2022
  2. Jan 31, 2022
    • Randy Dunlap's avatar
      ASoC: max98927: add missing header file · bb45f689
      Randy Dunlap authored
      
      
      Add a header file that provides the missing function prototypes
      and macro to fix these build errors (seen on arch/alpha/):
      
      ../sound/soc/codecs/max98927.c: In function 'max98927_i2c_probe':
      ../sound/soc/codecs/max98927.c:902:19: error: implicit declaration of function 'devm_gpiod_get_optional'; did you mean 'devm_regulator_get_optional'? [-Werror=implicit-function-declaration]
        902 |                 = devm_gpiod_get_optional(&i2c->dev, "reset", GPIOD_OUT_HIGH);
            |                   ^~~~~~~~~~~~~~~~~~~~~~~
      ../sound/soc/codecs/max98927.c:902:63: error: 'GPIOD_OUT_HIGH' undeclared (first use in this function); did you mean 'GPIOF_INIT_HIGH'?
        902 |                 = devm_gpiod_get_optional(&i2c->dev, "reset", GPIOD_OUT_HIGH);
            |                                                               ^~~~~~~~~~~~~~
      ../sound/soc/codecs/max98927.c:909:17: error: implicit declaration of function 'gpiod_set_value_cansleep'; did you mean 'gpio_set_value_cansleep'? [-Werror=implicit-function-declaration]
        909 |                 gpiod_set_value_cansleep(max98927->reset_gpio, 0);
            |                 ^~~~~~~~~~~~~~~~~~~~~~~~
      
      Fixes: 4d67dc19 ("ASoC: max98927: Handle reset gpio when probing i2c")
      Signed-off-by: default avatarRandy Dunlap <rdunlap@infradead.org>
      Reported-by: default avatarkernel test robot <lkp@intel.com>
      Cc: Alejandro Tafalla <atafalla@dnyon.com>
      Cc: Mark Brown <broonie@kernel.org>
      Cc: Liam Girdwood <lgirdwood@gmail.com>
      Cc: Takashi Iwai <tiwai@suse.com>
      Cc: alsa-devel@alsa-project.org
      Link: https://lore.kernel.org/r/20220129080259.19964-1-rdunlap@infradead.org
      
      
      Signed-off-by: default avatarMark Brown <broonie@kernel.org>
      bb45f689
  3. Jan 29, 2022
    • Mark Brown's avatar
      ASOC: amd: acp: Add generic PDM and PCI driver support for ACP · 9a19aba2
      Mark Brown authored
      Merge series from Ajit Kumar Pandey <AjitKumar.Pandey@amd.com>:
      
      These changes add PDM and PCI drivers for AMD ACP hardware.
      9a19aba2
    • Mark Brown's avatar
      SoC: SOF: ipc: Optimizations for tx message · e0c8a67f
      Mark Brown authored
      Merge series from Peter Ujfalusi <peter.ujfalusi@linux.intel.com>:
      
      The series will drop the internal use of 'header' parameter which is always
      set to hdr->cmd.
      
      The other simplification is to use the provided message directly as it is
      guarantied to be valid throughout the message sending and we can save memory
      by not allocating a temporary buffer, also saving on needles memcpy()
      operations.
      e0c8a67f
    • Mark Brown's avatar
      (Re)enable DP/HDMI audio for RK3399 Gru · a3a2a21a
      Mark Brown authored
      Merge series from Brian Norris <briannorris@chromium.org>:
      
      This series fixes DP/HDMI audio for RK3399 Gru systems.
      
      First, there was a regression with the switch to SPDIF. Patch 1 can be
      taken separately as a regression fix if desired. But it's not quite so
      useful (at least on Chrome OS systems) without the second part.
      
      Second, jack detection was never upstreamed, because the hdmi-codec
      dependencies were still being worked out when this platform was first
      supported.
      
      base-commit: e783362e
      a3a2a21a
    • Uwe Kleine-König's avatar
      ASoC: cs42l51: Improve error handling in cs42l51_remove() · 73d4c313
      Uwe Kleine-König authored
      
      
      When disabling a regulator fails while the device goes away, there is
      little we can do and the machine is probably in enough trouble that any
      action we'd want to take fails anyhow.
      
      The return value used to be passed on in cs42l51_i2c_remove() (i.e. the
      i2c device remove callback). But the i2c core ignores the error code
      (apart from emitting a generic warning) and removes the device anyhow.
      
      So return 0 unconditionally in cs42l51_i2c_remove(), and instead of
      returning the error code to the upper layer emit a more helpful warning
      message. After that nobody is interested any more in the actual error
      code, so let cs42l51_remove() return void.
      
      Signed-off-by: default avatarUwe Kleine-König <u.kleine-koenig@pengutronix.de>
      Link: https://lore.kernel.org/r/20220110071832.306185-1-u.kleine-koenig@pengutronix.de
      
      
      Signed-off-by: default avatarMark Brown <broonie@kernel.org>
      73d4c313
  4. Jan 28, 2022
  5. Jan 25, 2022