1. 16 4月, 2015 3 次提交
    • T
      ALSA: hda - Migrate hdac_stream into legacy driver · 7833c3f8
      Takashi Iwai 提交于
      Embed hdac_stream object into azx_dev, and use a few basic helper
      functions.  The most of helper codes for hdac_stream aren't still used
      yet.
      
      Also this commit disables the tracepoints temporarily due to build
      problems.  It'll be enabled again later.
      Signed-off-by: NTakashi Iwai <tiwai@suse.de>
      7833c3f8
    • T
      ALSA: hda - Pass bus io_ops directly from the top-level driver · a43ff5ba
      Takashi Iwai 提交于
      One less redirection again.  This also requires the change of the call
      order in the toplevel divers.  Namely, the bus has to be created at
      first before other initializations since the memory allocation ops are
      called through bus object now.
      Signed-off-by: NTakashi Iwai <tiwai@suse.de>
      a43ff5ba
    • T
      ALSA: hda - Add the controller helper codes to hda-core module · 14752412
      Takashi Iwai 提交于
      This patch adds the controller helper codes to hda-core library.
      The I/O access ops are added to the bus ops.  The CORB/RIRB, the basic
      attributes like irq# and iomap address, some locks and the list of
      streams are added to the bus object, together with the stream object
      and its helpers.
      
      Currently the codes are just copied from the legacy driver, so you can
      find duplicated codes in both directories.  Only constants are removed
      from the original hda_controller.h.  More integration work will follow
      in the later patches.
      Signed-off-by: NTakashi Iwai <tiwai@suse.de>
      14752412
  2. 13 3月, 2015 1 次提交
  3. 26 2月, 2015 2 次提交
    • T
      ALSA: hda - Clear pcm pointer assigned to hda_pcm at device removal · 820cc6cf
      Takashi Iwai 提交于
      We leave the pcm field of struct hda_pcm at removal of each device, so
      far.  This hasn't been a problem since unbinding the codec driver
      isn't supposed to happen and another route via snd_hda_codec_reset()
      clears all the once.  However, for a proper unbind implementation, we
      need to care about it.
      
      This patch does the thing above properly:
      
      - Include struct hda_pcm pointer instead of struct hda_pcm_stream
        pointers in struct azx_dev.  This allows us to point the hda_pcm
        object at dev_free callback.
      
      - Introduce to_hda_pcm_stream() macro for better readability.
      Signed-off-by: NTakashi Iwai <tiwai@suse.de>
      820cc6cf
    • T
      ALSA: hda - Drop power_save value indirection in hda_bus · bb573928
      Takashi Iwai 提交于
      We used to pass the power_save option value to hda_bus via a given
      pointer.  This was needed to refer to the value from the HD-audio core
      side.  However, after the transition to the runtime PM, this is no
      longer needed.
      
      This patch drops the power_save value indirection in hda_bus above,
      and let the controller driver reprograms the autosuspend value
      explicitly by a new helper, snd_hda_set_power_save().  Without this
      call, the HD-audio core doesn't set up the autosuspend and flip the
      runtime PM.  (User may still be able to set up via sysfs, though.)
      
      Along with this change, the pointer argument of azx_bus_create() is
      dropped as well.
      Signed-off-by: NTakashi Iwai <tiwai@suse.de>
      bb573928
  4. 20 2月, 2015 3 次提交
  5. 27 6月, 2014 2 次提交
  6. 09 4月, 2014 1 次提交
  7. 01 3月, 2014 8 次提交