1. Nov 30, 2021
  2. Nov 29, 2021
  3. Nov 25, 2021
  4. Nov 24, 2021
  5. Nov 23, 2021
  6. Nov 22, 2021
    • Nicolas Frattaroli's avatar
      ASoC: rk817: Add module alias for rk817-codec · 428ee30a
      Nicolas Frattaroli authored
      Without a module alias, autoloading the driver does not occurr
      when it is built as a module.
      
      By adding a module alias, the driver now probes fine automatically
      and therefore analog audio output works as it should.
      
      Fixes: 0d6a04da
      
       ("ASoC: Add Rockchip rk817 audio CODEC support")
      Signed-off-by: default avatarNicolas Frattaroli <frattaroli.nicolas@gmail.com>
      Link: https://lore.kernel.org/r/20211121150521.159543-1-frattaroli.nicolas@gmail.com
      
      
      Signed-off-by: default avatarMark Brown <broonie@kernel.org>
      428ee30a
    • Hans de Goede's avatar
      ASoC: soc-acpi: Set mach->id field on comp_ids matches · 28c916ad
      Hans de Goede authored
      Commit dac7cbd5 ("ASoC: Intel: soc-acpi-byt: shrink tables using
      compatible IDs") and commit 959ae821 ("ASoC: Intel: soc-acpi-cht:
      shrink tables using compatible IDs") simplified the match tables in
      soc-acpi-intel-byt-match.c and soc-acpi-intel-cht-match.c by merging
      identical entries using the new .comp_ids snd_soc_acpi_mach field to
      point a single entry to multiple ACPI HIDs and clearing the previously
      unique per entry .id field.
      
      But various machine drivers from sound/soc/intel/boards rely on mach->id
      in one or more ways, e.g. some drivers contain the following snippets:
      
      	adev = acpi_dev_get_first_match_dev(mach->id, NULL, -1);
      
      	pkg_found = snd_soc_acpi_find_package_from_hid(mach->id, ...
      
      	if (!strncmp(snd_soc_cards[i].codec_id, mach->id, 8)) { ...
      
      All of which are broken by the match table shrinking.
      
      Make the snd_soc_acpi_mach.id field non const (the storage for the tables
      already is non const) and on a comps_ids match copy the matchi...
      28c916ad
  7. Nov 20, 2021
  8. Nov 19, 2021
  9. Nov 18, 2021
  10. Nov 17, 2021
  11. Nov 16, 2021