Skip to content
  1. Oct 02, 2023
    • Matthias Reichl's avatar
      ASoC: hdmi-codec: Fix broken channel map reporting · b84b5314
      Matthias Reichl authored
      Commit 4e087133 ("ASoC: hdmi-codec: fix channel info for
      compressed formats") accidentally changed hcp->chmap_idx from
      ca_id, the CEA channel allocation ID, to idx, the index to
      the table of channel mappings ordered by preference.
      
      This resulted in wrong channel maps being reported to userspace,
      eg for 5.1 "FL,FR,LFE,FC" was reported instead of the expected
      "FL,FR,LFE,FC,RL,RR":
      
      ~ # speaker-test -c 6 -t sine
      ...
       0 - Front Left
       3 - Front Center
       1 - Front Right
       2 - LFE
       4 - Unknown
       5 - Unknown
      
      ~ # amixer cget iface=PCM,name='Playback Channel Map' | grep ': values'
        : values=3,4,8,7,0,0,0,0
      
      Switch this back to ca_id in case of PCM audio so the correct channel
      map is reported again and set it to HDMI_CODEC_CHMAP_IDX_UNKNOWN in
      case of non-PCM audio so the PCM channel map control returns "Unknown"
      channels (value 0).
      
      Fixes: 4e087133
      
       ("ASoC: hdmi-codec: fix channel info for compressed formats")
      Cc: stable@vger.kernel.org
      Signed-off-by: default avatarMatthias Reichl <hias@horus.com>
      Link: https://lore.kernel.org/r/20230929195027.97136-1-hias@horus.com
      
      
      Signed-off-by: default avatarMark Brown <broonie@kernel.org>
      b84b5314
  2. Sep 29, 2023
  3. Sep 27, 2023
  4. Sep 26, 2023
  5. Sep 25, 2023
  6. Sep 23, 2023
  7. Sep 20, 2023
  8. Sep 19, 2023
  9. Sep 16, 2023
  10. Sep 15, 2023
  11. Sep 14, 2023
  12. Sep 13, 2023
  13. Sep 12, 2023