1. 14 May, 2014 6 commits
  2. 13 May, 2014 4 commits
  3. 12 May, 2014 6 commits
  4. 09 May, 2014 1 commit
  5. 07 May, 2014 2 commits
  6. 05 May, 2014 2 commits
    • Liam Girdwood's avatar
      ASoC: Intel: Fix check for pdata usage before dereference. · e9024f0b
      Liam Girdwood authored
      This patch fixes the following dereference check ordering.
      
       sound/soc/intel/sst-haswell-pcm.c:749 hsw_pcm_probe() warn: variable dereferenced before check 'pdata' (see line 746)
      
       git remote add asoc git://git.kernel.org/pub/scm/linux/kernel/git/broonie/sound.git
       git remote update asoc
       git checkout 0b708c87
       vim +/pdata +749 sound/soc/intel/sst-haswell-pcm.c
      
       a4b12990 Mark Brown    2014-03-12  740  };
       a4b12990 Mark Brown    2014-03-12  741
       a4b12990 Mark Brown    2014-03-12  742  static int hsw_pcm_probe(struct snd_soc_platform *platform)
       a4b12990 Mark Brown    2014-03-12  743  {
       a4b12990 Mark Brown    2014-03-12  744  	struct sst_pdata *pdata = dev_get_platdata(platform->dev);
       a4b12990 Mark Brown    2014-03-12  745  	struct hsw_priv_data *priv_data;
       0b708c87 Liam Girdwood 2014-05-02 @746  	struct device *dma_dev = pdata->dma_dev;
       0b708c87 Liam Girdwood 2014-05-02  747  	int i, ret = 0;
       a4b12990 Mark Brown    2014-03-12  748
       a4b12990 Mark Brown    2014-03-12 @749  	if (!pdata)
       a4b12990 Mark Brown    2014-03-12  750  		return -ENODEV;
       a4b12990 Mark Brown    2014-03-12  751
       a4b12990 Mark Brown    2014-03-12  752  	priv_data = devm_kzalloc(platform->dev, sizeof(*priv_data), GFP_KERNEL);
      Reported-by: default avatarDan Carpenter <dan.carpenter@oracle.com>
      Signed-off-by: default avatarLiam Girdwood <liam.r.girdwood@linux.intel.com>
      Signed-off-by: default avatarMark Brown <broonie@linaro.org>
      e9024f0b
    • Anssi Hannula's avatar
      ALSA: hda - hdmi: Set converter channel count even without sink · f06ab794
      Anssi Hannula authored
      Since commit 1df5a06a ("ALSA: hda - hdmi: Fix programmed active channel
      count") channel count is no longer being set if monitor_present is 0.
      This is because setting the count was moved after the CA value is
      determined, which is only after the monitor_present check in
      hdmi_setup_audio_infoframe().
      
      Unfortunately, in some cases, such as with a non-spec-compliant codec or
      with a problematic video driver, monitor_present is always 0. As a
      specific example, this seems to happen with gen1 ATV (SiI1390 codec),
      causing left-channel-only stereo playback (multi-channel playback has
      apparently never worked with this codec despite it reporting 8 channels,
      reason unknown).
      
      Simply setting converter channel count without setting the pin infoframe
      and channel mapping as well does not theoretically make much sense as
      this will just mean they are out-of-sync and multichannel playback will
      have a wrong channel mapping.
      
      However, adding back just setting the converter channel count even in
      no-monitor case is the safest change which at least fixes the stereo
      playback regression on SiI1390 codec. Do that.
      Signed-off-by: default avatarAnssi Hannula <anssi.hannula@iki.fi>
      Reported-by: default avatarStephan Raue <stephan@openelec.tv>
      Tested-by: default avatarStephan Raue <stephan@openelec.tv>
      Cc: <stable@vger.kernel.org> # 3.12+
      Signed-off-by: default avatarTakashi Iwai <tiwai@suse.de>
      f06ab794
  7. 02 May, 2014 10 commits
  8. 30 Apr, 2014 1 commit
  9. 29 Apr, 2014 1 commit
    • Takashi Iwai's avatar
      ALSA: hda - Suppress CORBRP clear on Nvidia controller chips · 6ba736dd
      Takashi Iwai authored
      The recent commit (ca460f86) changed the CORB RP reset procedure to
      follow the specification with a couple of sanity checks.
      Unfortunately, Nvidia controller chips seem not following this way,
      and spew the warning messages like:
        snd_hda_intel 0000:00:10.1: CORB reset timeout#1, CORBRP = 0
      
      This patch adds the workaround for such chips.  It just skips the new
      reset procedure for the known broken chips.
      Signed-off-by: default avatarTakashi Iwai <tiwai@suse.de>
      6ba736dd
  10. 28 Apr, 2014 2 commits
  11. 25 Apr, 2014 1 commit
  12. 24 Apr, 2014 2 commits
  13. 23 Apr, 2014 2 commits