1. 02 9月, 2013 1 次提交
    • A
      ALSA: hda - hdmi: Fallback to ALSA allocation when selecting CA · 18e39186
      Anssi Hannula 提交于
      hdmi_channel_allocation() tries to find a HDMI channel allocation that
      matches the number channels in the playback stream and contains only
      speakers that the HDMI sink has reported as available via EDID. If no
      such allocation is found, 0 (stereo audio) is used.
      
      Using CA 0 causes the audio causes the sink to discard everything except
      the first two channels (front left and front right).
      
      However, the sink may be capable of receiving more channels than it has
      speakers (and then perform downmix or discard the extra channels), in
      which case it is preferable to use a CA that contains extra channels
      than to use CA 0 which discards all the non-stereo channels.
      
      Additionally, it seems that HBR (HD) passthrough output does not work on
      Intel HDMI codecs when CA is set to 0 (possibly the codec zeroes
      channels not present in CA). This happens with all receivers that report
      a 5.1 speaker mask since a HBR stream is carried on 8 channels to the
      codec.
      
      Add a fallback in the CA selection so that the CA channel count at least
      matches the stream channel count, even if the stream contains channels
      not present in the sink speaker descriptor.
      
      Thanks to GrimGriefer at OpenELEC forums for discovering that changing
      the sink speaker mask allowed HBR output.
      
      Reported-by: GrimGriefer
      Reported-by: Ashecrow
      Reported-by: NFrank Zafka <kafkaesque1978@gmail.com>
      Reported-by: NPeter Frühberger <fritsch@xbmc.org>
      Signed-off-by: NAnssi Hannula <anssi.hannula@iki.fi>
      Cc: <stable@vger.kernel.org>
      Signed-off-by: NTakashi Iwai <tiwai@suse.de>
      18e39186
  2. 01 9月, 2013 4 次提交
    • F
      ASoC: mxs-sgtl5000: Configure the dai_links as unidirectional · a90e6053
      Fabio Estevam 提交于
      On a mx28 board, running "aplay -l" and "arecord -l" results in the following:
      
      $ aplay -l
      **** List of PLAYBACK Hardware Devices ****
      card 0: mxssgtl5000 [mxs_sgtl5000], device 0: Playback sgtl5000-0 []
        Subdevices: 1/1
        Subdevice #0: subdevice #0
      card 0: mxssgtl5000 [mxs_sgtl5000], device 1: Capture sgtl5000-1 []
        Subdevices: 1/1
        Subdevice #0: subdevice #0
      
      $ arecord -l
      **** List of CAPTURE Hardware Devices ****
      card 0: mxssgtl5000 [mxs_sgtl5000], device 0: Playback sgtl5000-0 []
        Subdevices: 1/1
        Subdevice #0: subdevice #0
      card 0: mxssgtl5000 [mxs_sgtl5000], device 1: Capture sgtl5000-1 []
        Subdevices: 1/1
        Subdevice #0: subdevice #0
      
      ,which is not correct because we got a capture device listed in aplay and a
      playback device listed in arecord.
      
      On mx28 there are two serial audio interface ports (SAIF0 and SAIF1) and each
      one of them are unidirectional.
      
      Allow to specify a dai link as 'playback_only' or 'capture_only', which suits
      well for this case.
      
      After this change we can correctly report the capabilities as follows:
      
      $ aplay -l
      **** List of PLAYBACK Hardware Devices ****
      card 0: mxssgtl5000 [mxs_sgtl5000], device 0: HiFi Playback sgtl5000-0 []
        Subdevices: 1/1
        Subdevice #0: subdevice #0
      
      $ arecord -l
      **** List of CAPTURE Hardware Devices ****
      card 0: mxssgtl5000 [mxs_sgtl5000], device 1: HiFi Capture sgtl5000-1 []
        Subdevices: 1/1
        Subdevice #0: subdevice #0
      
      Also tested playback and capture on the mx28evk board.
      Signed-off-by: NFabio Estevam <fabio.estevam@freescale.com>
      Signed-off-by: NMark Brown <broonie@linaro.org>
      a90e6053
    • F
      ASoC: soc-pcm: Allow to specify unidirectional dai_link · d6bead02
      Fabio Estevam 提交于
      Add 'playback_only' and 'capture_only' fields that can be used for specifying
      that a dai_link has a unidirectional capability.
      
      The motivation for this is for the cases of systems, such as Freescale MX28,
      that has two unidirectional DAIs.
      Signed-off-by: NFabio Estevam <fabio.estevam@freescale.com>
      Signed-off-by: NMark Brown <broonie@linaro.org>
      d6bead02
    • M
      6b4c80f9
    • L
      ASoC: ssm2602: Fix cache sync · 9d863b88
      Lars-Peter Clausen 提交于
      The ssm2602 uses regmap for caching not soc-cache, so we need to use
      regcache_sync() instead of snd_soc_cache_sync().
      Signed-off-by: NLars-Peter Clausen <lars@metafoo.de>
      Signed-off-by: NMark Brown <broonie@linaro.org>
      9d863b88
  3. 31 8月, 2013 2 次提交
  4. 30 8月, 2013 4 次提交
  5. 29 8月, 2013 4 次提交
  6. 28 8月, 2013 1 次提交
  7. 27 8月, 2013 14 次提交
  8. 26 8月, 2013 3 次提交
  9. 24 8月, 2013 1 次提交
  10. 23 8月, 2013 2 次提交
  11. 22 8月, 2013 4 次提交