1. 16 Dec, 2018 8 commits
  2. 13 Dec, 2018 7 commits
  3. 11 Dec, 2018 15 commits
  4. 10 Dec, 2018 4 commits
  5. 09 Dec, 2018 3 commits
  6. 07 Dec, 2018 3 commits
    • Kailang Yang's avatar
      ALSA: hda/realtek - Enable headset button support for new codec · e854747d
      Kailang Yang authored
      This patch will enable headset button for new Chrome platform.
      Signed-off-by: default avatarKailang Yang <kailang@realtek.com>
      Signed-off-by: default avatarTakashi Iwai <tiwai@suse.de>
      e854747d
    • Takashi Iwai's avatar
      ALSA: hda - Add jack button support · 911761c2
      Takashi Iwai authored
      Extend some structs to add the support for jack button changes.
      Now snd_hda_jack_add_kctl() receives two more arguments: the jack type
      and the jack keymaps.  Both are optional, and when zero are passed,
      the function behaves just like before.
      
      For reporting button state changes, you'd need to update
      jack->button_state bits accordingly, typically in the jack callback.
      Then the value OR'ed with button_state and the jack plug state is
      passed to snd_jack_report().
      
      Note that currently the code assumes only the one-shot button events,
      i.e. it tries to send the button release soon after sending the button
      event.  If a driver really supports the button release handling by
      itself, we may need to introduce some flag to control this behavior in
      future.
      Signed-off-by: default avatarTakashi Iwai <tiwai@suse.de>
      911761c2
    • Takashi Iwai's avatar
      ALSA: hda - Add jack pointer and unsolicited event bits to callback · e6ce180f
      Takashi Iwai authored
      For allowing the callee to evaluate the associated jack information
      and the unsolicited event data, add the new fields to
      hda_jack_callback.  They can be used, for example, to retrieve the
      headset button state in the callback.
      Signed-off-by: default avatarTakashi Iwai <tiwai@suse.de>
      e6ce180f