1. 16 1月, 2013 2 次提交
  2. 15 1月, 2013 5 次提交
    • I
      ALSA: hda/ca0132: Add unsol handler for DSP and jack detection · a73d511c
      Ian Minett 提交于
      This patch adds the unsolicited response handler for incoming DSP responses and
      jack detection reporting, and routines for reading the incoming DSP response.
      Signed-off-by: NIan Minett <ian_minett@creativelabs.com>
      Signed-off-by: NTakashi Iwai <tiwai@suse.de>
      a73d511c
    • I
      ALSA: hda/ca0132: Add PCM enhancements · 825315bc
      Ian Minett 提交于
      Remove the playback PCM open callback.
      PCM stream setup and cleanup functions are added for use by PCM callbacks.
      Delay stream cleanup if effects are on, to allow time for any effects tail to
      finish.
      Add the analog capture PCM callbacks.
      Change the max channels of analog playback to 6.
      Add two new PCMs: AMic2 and What-U-Hear.
      Signed-off-by: NIan Minett <ian_minett@creativelabs.com>
      Signed-off-by: NTakashi Iwai <tiwai@suse.de>
      825315bc
    • I
      ALSA: hda/ca0132: Add DSP mixer controls and helpers · a7e76271
      Ian Minett 提交于
      This patch adds the kcontrols for the DSP effects, playback and recording
      source selection.
      ca0132_is_vnode_effective() checks whether virtual node settings have
      taken effect.
      The control change helpers ca0132_pe_switch_set(), ca0132_voicefx_set()
      and ca0132_cvoice_switch_set() are added to toggle playback / capture
      DSP effects, ca0132_voicefx_info(), _get() and _put() are added for
      input path DSP effect value access. The volume helpers are updated to
      volume_info(), _get() and _set() to use the virtual nodes.
      The redundant headphone and speaker switches and ct_extension function
      are removed.
      Signed-off-by: NIan Minett <ian_minett@creativelabs.com>
      Signed-off-by: NTakashi Iwai <tiwai@suse.de>
      a7e76271
    • I
      ALSA: hda/ca0132: Init chip, DSP effects and mixer settings · 5aaca44d
      Ian Minett 提交于
      This patch adds the framework to set effect parameters: ca0132_effects_set()
      and ca0132_setup_defaults() are general functions for parameter setting and
      initializing to default values. dspio_set_param() and dspio_set_uint_param()
      are lower-level fns to simplify setting individual DSP parameters via an
      SCP buffer transfer to the firmware.
      The CA0132 chip parameter init code is added in ca0132_init_params().
      In chipio_[write,read]_data(), the current chip address is auto-incremented
      if no error has occurred.
      ca0132_select_out() selects the current output. If autodetect is enabled,
      use headphones (if jack detected) or speakers (if no jack).
      ca0132_select_mic() selects the current mic in. If autodetect is enabled,
      use exterior mic (if jack detected) or built-in mic (if no jack).
      Init digital mic and switch between dmic and amic with ca0132_init_dmic(),
      ca0132_set_dmic(). amic2 is initialized in ca0132_init_analog_mic2().
      Finally, add verb tables for configuring DSP firmware.
      Signed-off-by: NIan Minett <ian_minett@creativelabs.com>
      Signed-off-by: NTakashi Iwai <tiwai@suse.de>
      5aaca44d
    • I
      ALSA: hda/ca0132: Add new definitions and structs for DSP · ef6b2ead
      Ian Minett 提交于
      This patch adds definitions and structs used for configuring DSP effects,
      virtual nodes, effect tuning controls, and mixer control helpers.
      The effect structs are also initialized.
      Signed-off-by: NIan Minett <ian_minett@creativelabs.com>
      Signed-off-by: NTakashi Iwai <tiwai@suse.de>
      ef6b2ead
  3. 28 11月, 2012 9 次提交
  4. 20 8月, 2012 1 次提交
  5. 08 8月, 2012 3 次提交
  6. 09 5月, 2012 1 次提交
  7. 20 4月, 2012 2 次提交
    • T
      ALSA: hda - Add snd_hda_get_default_vref() helper function · 4740860b
      Takashi Iwai 提交于
      Add a new helper function to guess the default VREF pin control bits
      for mic in.  This can be used to set the pin control value safely
      matching with the actual pin capabilities.
      Signed-off-by: NTakashi Iwai <tiwai@suse.de>
      4740860b
    • T
      ALSA: hda - Introduce snd_hda_set_pin_ctl*() helper functions · cdd03ced
      Takashi Iwai 提交于
      For setting the pin-control values more safely to match with the
      actual pin capability bits, a copule of new helper functions,
      snd_hda_set_pin_ctl() and snd_hda_set_pin_ctl_cache(), are
      introduced.  These are simple replacement of the codec verb write with
      AC_VERB_SET_PIN_WIDGET but do more sanity checks and filter out
      superfluous pin-control bits if they don't fit with the corresponding
      pin capabilities.
      
      Some codecs are screwed up or ignore the command when such a wrong bit
      is set.  These helpers will avoid such secret errors.
      Signed-off-by: NTakashi Iwai <tiwai@suse.de>
      cdd03ced
  8. 07 2月, 2012 1 次提交
  9. 01 11月, 2011 1 次提交
  10. 21 6月, 2011 2 次提交