1. 15 Sep, 2012 1 commit
  2. 14 Sep, 2012 1 commit
  3. 13 Sep, 2012 1 commit
  4. 12 Sep, 2012 1 commit
  5. 11 Sep, 2012 2 commits
  6. 10 Sep, 2012 1 commit
    • Takashi Iwai's avatar
      ALSA: hda - Fix Oops at codec reset/reconfig · 07dc59f0
      Takashi Iwai authored
      snd_hda_codec_reset() calls restore_pincfgs() where the codec is
      powered up again, which eventually tries to resume and initialize via
      the callbacks of the codec.  However, it's the place just after codec
      free callback, thus no codec callbacks should be called after that.
      On a codec like CS4206, it results in Oops due to the access in init
      callback.
      
      This patch fixes the issue by clearing the codec callbacks properly
      after freeing codec.
      Reported-by: default avatarDaniel J Blueman <daniel@quora.org>
      Cc: <stable@vger.kernel.org>
      Signed-off-by: default avatarTakashi Iwai <tiwai@suse.de>
      07dc59f0
  7. 07 Sep, 2012 1 commit
  8. 06 Sep, 2012 4 commits
    • Takashi Iwai's avatar
      ALSA: usb-audio: Fix bogus error messages for delay accounting · 1213a205
      Takashi Iwai authored
      The recent fix for the missing fine delayed time adjustment gives
      strange error messages at each start of the playback stream, such as
        delay: estimated 0, actual 352
        delay: estimated 353, actual 705
      
      These come from the sanity check in retire_playback_urb().  Before the
      stream is activated via start_endpoints(), a few silent packets have
      been already sent.  And at this point the delay account is still in
      the state as if the new packets are just queued, so the driver gets
      confused and spews the bogus error messages.
      
      For fixing the issue, we just need to check whether the received
      packet is valid, whether it's zero sized or not.
      Reported-by: default avatarMarkus Trippelsdorf <markus@trippelsdorf.de>
      Cc: <stable@vger.kernel.org> [v3.5+]
      Signed-off-by: default avatarTakashi Iwai <tiwai@suse.de>
      1213a205
    • Dylan Reid's avatar
      ASoC: samsung dma - Don't indicate support for pause/resume. · 57b2d688
      Dylan Reid authored
      The pause and resume operations indicate that the stream can be
      un-paused/resumed from the exact location they were paused/suspended.
      This is not true for this driver, the pause and suspend triggers share
      the same code path with stop, they flush all pending DMA transfers.
      This drops all pending samples.  The pause_release/resume triggers are
      the same as start, except that prepare won't be called beforehand,
      nothing will be enqueued to the DMA engine and nothing will happen (no
      audio).  Removing the pause flag will let apps know that it isn't
      supported.  Removing the resume flag will cause user space to call
      prepare and start instead of resume, so audio will continue playing when
      the system wakes up.
      
      Before removing the pause and resume flags, I tested this on an exynos
      5250, using 'aplay -i'. Pause/un-pause leads to silence followed by a
      write error.  Suspend/resume testing led to the same result.  Removing
      the two flags fixes suspend/resume (since snd_pcm_prepare is called
      again). And leads to a proper reporting of pause not supported.
      Signed-off-by: default avatarDylan Reid <dgreid@chromium.org>
      Signed-off-by: default avatarMark Brown <broonie@opensource.wolfsonmicro.com>
      Cc: stable@vger.kernel.org
      57b2d688
    • Takashi Iwai's avatar
      ALSA: hda - Fix missing Master volume for STAC9200/925x · ab548d2d
      Takashi Iwai authored
      With the commit [2faa3bf1: ALSA: hda - Rewrite the mute-LED hook with
      vmaster hook in patch_sigmatel.c], the former Master volume control
      was converted to PCM.  This was supposed to be covered by the vmaster
      control.  But due to the lack of "PCM" slave definition, this didn't
      happen properly.  The patch fixes the missing entry.
      Reported-by: default avatarAndrew Shadura <bugzilla@tut.by>
      Cc: <stable@vger.kernel.org> [v3.4+]
      Signed-off-by: default avatarTakashi Iwai <tiwai@suse.de>
      ab548d2d
    • Fabio Estevam's avatar
      ASoC: mc13783: Remove mono support · 37f45cc5
      Fabio Estevam authored
      Playing a mono track on a mc13783 codec results in incorrect playback rate.
      
      Remove mono support so that a mono track can be played correctly.
      Signed-off-by: default avatarFabio Estevam <fabio.estevam@freescale.com>
      Tested-by: default avatarGaëtan Carlier <gcembed@gmail.com>
      Signed-off-by: default avatarMark Brown <broonie@opensource.wolfsonmicro.com>
      37f45cc5
  9. 05 Sep, 2012 1 commit
  10. 31 Aug, 2012 5 commits
  11. 30 Aug, 2012 1 commit
    • Daniel Mack's avatar
      ALSA: snd-usb: Fix URB cancellation at stream start · 015618b9
      Daniel Mack authored
      Commit e9ba389c ("ALSA: usb-audio: Fix scheduling-while-atomic bug in
      PCM capture stream") fixed a scheduling-while-atomic bug that happened
      when snd_usb_endpoint_start was called from the trigger callback, which
      is an atmic context. However, the patch breaks the idea of the endpoints
      reference counting, which is the reason why the driver has been
      refactored lately.
      
      Revert that commit and let snd_usb_endpoint_start() take care of the URB
      cancellation again. As this function is called from both atomic and
      non-atomic context, add a flag to denote whether the function may sleep.
      Signed-off-by: default avatarDaniel Mack <zonque@gmail.com>
      Cc: stable@kernel.org [3.5+]
      Signed-off-by: default avatarTakashi Iwai <tiwai@suse.de>
      015618b9
  12. 28 Aug, 2012 4 commits
  13. 25 Aug, 2012 2 commits
  14. 22 Aug, 2012 1 commit
  15. 21 Aug, 2012 1 commit
  16. 20 Aug, 2012 13 commits