1. 09 Feb, 2022 1 commit
  2. 08 Feb, 2022 12 commits
  3. 03 Feb, 2022 7 commits
  4. 31 Jan, 2022 1 commit
    • 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.orgSigned-off-by: default avatarMark Brown <broonie@kernel.org>
      bb45f689
  5. 28 Jan, 2022 19 commits