1. 04 3月, 2016 1 次提交
  2. 26 1月, 2016 1 次提交
    • T
      ALSA: compress: Disable GET_CODEC_CAPS ioctl for some architectures · 462b3f16
      Takashi Iwai 提交于
      Some architectures like PowerPC can handle the maximum struct size in
      an ioctl only up to 13 bits, and struct snd_compr_codec_caps used by
      SNDRV_COMPRESS_GET_CODEC_CAPS ioctl overflows this limit.  This
      problem was revealed recently by a powerpc change, as it's now treated
      as a fatal build error.
      
      This patch is a stop-gap for that: for architectures with less than 14
      bit ioctl struct size, get rid of the handling of the relevant ioctl.
      We should provide an alternative equivalent ioctl code later, but for
      now just paper over it.  Luckily, the compress API hasn't been used on
      such architectures, so the impact must be effectively zero.
      Reviewed-by: NMark Brown <broonie@kernel.org>
      Acked-by: NSudip Mukherjee <sudipm.mukherjee@gmail.com>
      Cc: <stable@vger.kernel.org>
      Signed-off-by: NTakashi Iwai <tiwai@suse.de>
      462b3f16
  3. 07 12月, 2015 1 次提交
  4. 30 11月, 2015 2 次提交
  5. 03 2月, 2015 1 次提交
    • T
      ALSA: Simplify snd_device_register() variants · 40a4b263
      Takashi Iwai 提交于
      Now that all callers have been replaced with
      snd_device_register_for_dev(), let's drop the obsolete device
      registration code and concentrate only on the code handling struct
      device directly.  That said,
      
      - remove the old snd_device_register(),
      - rename snd_device_register_for_dev() with snd_device_register(),
      - drop superfluous arguments from snd_device_register(),
      - change snd_unregister_device() to pass the device pointer directly
      Reviewed-by: NJaroslav Kysela <perex@perex.cz>
      Signed-off-by: NTakashi Iwai <tiwai@suse.de>
      40a4b263
  6. 02 2月, 2015 1 次提交
  7. 16 7月, 2014 1 次提交
  8. 19 3月, 2014 1 次提交
  9. 05 1月, 2014 1 次提交
  10. 12 11月, 2013 1 次提交
  11. 07 11月, 2013 1 次提交
    • V
      ALSA: compress: fix drain calls blocking other compress functions (v6) · f44f2a54
      Vinod Koul 提交于
      The drain and drain_notify callback were blocked by low level driver
      until the draining was complete. Due to this being invoked with big
      fat mutex held, others ops like reading timestamp, calling pause, drop
      were blocked.
      
      So to fix this we add a new snd_compr_drain_notify() API. This would
      be required to be invoked by low level driver when drain or partial
      drain has been completed by the DSP. Thus we make the drain and
      partial_drain callback as non blocking and driver returns immediately
      after notifying DSP.  The waiting is done while releasing the lock so
      that other ops can go ahead.
      
      [ The commit 917f4b5c was wrongly applied from the preliminary
        patch.  This commit corrects to the final version.
        Sorry for inconvenience!  -- tiwai ]
      Signed-off-by: NVinod Koul <vinod.koul@intel.com>
      CC: stable@vger.kernel.org
      Signed-off-by: NTakashi Iwai <tiwai@suse.de>
      f44f2a54
  12. 24 10月, 2013 1 次提交
    • V
      ALSA: compress: fix drain calls blocking other compress functions · 917f4b5c
      Vinod Koul 提交于
      The drain and drain_notify callback were blocked by low level driver untill the
      draining was complete. Due to this being invoked with big fat mutex held, others
      ops like reading timestamp, calling pause, drop were blocked.
      
      So to fix this we add a new snd_compr_drain_notify() API. This would be required
      to be invoked by low level driver when drain or partial drain has been completed
      by the DSP. Thus we make the drain and partial_drain callback as non blocking
      and driver returns immediately after notifying DSP.
      The waiting is done while relasing the lock so that other ops can go ahead.
      Signed-off-by: NVinod Koul <vinod.koul@intel.com>
      CC: stable@vger.kernel.org
      Signed-off-by: NTakashi Iwai <tiwai@suse.de>
      917f4b5c
  13. 26 9月, 2013 1 次提交
  14. 20 9月, 2013 1 次提交
  15. 29 7月, 2013 1 次提交
  16. 29 4月, 2013 1 次提交
  17. 22 4月, 2013 2 次提交
  18. 21 4月, 2013 6 次提交
  19. 14 2月, 2013 1 次提交
  20. 11 2月, 2013 1 次提交
  21. 30 10月, 2012 1 次提交
  22. 17 9月, 2012 2 次提交
  23. 14 9月, 2012 1 次提交
  24. 11 9月, 2012 1 次提交
  25. 12 6月, 2012 2 次提交
  26. 24 1月, 2012 1 次提交
  27. 23 12月, 2011 1 次提交