1. 20 2月, 2015 4 次提交
  2. 17 2月, 2015 2 次提交
  3. 14 2月, 2015 2 次提交
  4. 13 2月, 2015 1 次提交
  5. 10 2月, 2015 1 次提交
  6. 09 2月, 2015 2 次提交
  7. 06 2月, 2015 1 次提交
  8. 02 2月, 2015 2 次提交
    • T
      ALSA: pcm: Embed struct device · ef46c7af
      Takashi Iwai 提交于
      Like previous patches, at this time we embed the struct device into
      PCM object.  However, this needs a bit more caution: struct snd_pcm
      doesn't own one device but two, for both playback and capture!  Thus
      not struct snd_pcm but struct snd_pcm_str object contains the device.
      
      Along with this change, pcm->dev field is dropped for avoiding
      confusion.  It was meant to point to a non-standard parent.  But,
      since now we can touch each struct device directly, we can manipulate
      the parent field easily there, too.
      Reviewed-by: NJaroslav Kysela <perex@perex.cz>
      Signed-off-by: NTakashi Iwai <tiwai@suse.de>
      ef46c7af
    • T
      ALSA: hwdep: Embed struct device · 7b461600
      Takashi Iwai 提交于
      Like the previous patch, this one embeds the device object into hwdep
      object.  For a proper object lifecycle, it's freed in the release
      callback.
      
      This also allows us to create sysfs entries via passing to the groups
      field of the device without explicit function calls.  Since each
      driver can see the device and touch its groups field directly, we
      don't need to delegate in hwdep core any longer.  So, remove the
      groups field from snd_hwdep, and let the user (in this case only
      hda_hwdep.c) modify the device groups.
      Reviewed-by: NJaroslav Kysela <perex@perex.cz>
      Signed-off-by: NTakashi Iwai <tiwai@suse.de>
      7b461600
  9. 29 1月, 2015 3 次提交
  10. 28 1月, 2015 1 次提交
  11. 20 1月, 2015 1 次提交
  12. 19 1月, 2015 5 次提交
  13. 17 1月, 2015 4 次提交
  14. 15 1月, 2015 2 次提交
  15. 12 1月, 2015 5 次提交
  16. 11 1月, 2015 2 次提交
  17. 10 1月, 2015 2 次提交
    • T
      ALSA: ymfpci: Simplify PM callbacks · 3e41c9b5
      Takashi Iwai 提交于
      This is a similar cleanup like the commit [3db084fd: ALSA: fm801:
      PCI core handles power state for us].
      
      Since pci_set_power_state(), pci_save_state() and pci_restore_state()
      are already done in the PCI core side, so we don't need to it doubly.
      
      Also, pci_enable_device(), pci_disable_device() and pci_set_master()
      calls in PM callbacks are superfluous nowadays, too, so get rid of
      them as well.
      Signed-off-by: NTakashi Iwai <tiwai@suse.de>
      3e41c9b5
    • T
      ALSA: vx222: Simplify PM callbacks · de0c869c
      Takashi Iwai 提交于
      This is a similar cleanup like the commit [3db084fd: ALSA: fm801:
      PCI core handles power state for us].
      
      Since pci_set_power_state(), pci_save_state() and pci_restore_state()
      are already done in the PCI core side, so we don't need to it doubly.
      
      Also, pci_enable_device(), pci_disable_device() and pci_set_master()
      calls in PM callbacks are superfluous nowadays, too, so get rid of
      them as well.
      Signed-off-by: NTakashi Iwai <tiwai@suse.de>
      de0c869c