1. 13 4月, 2015 1 次提交
  2. 12 4月, 2015 3 次提交
  3. 11 4月, 2015 6 次提交
  4. 10 4月, 2015 3 次提交
  5. 09 4月, 2015 10 次提交
  6. 08 4月, 2015 5 次提交
    • T
      ALSA: hda - Work around races of power up/down with runtime PM · 664c7155
      Takashi Iwai 提交于
      Currently, snd_hdac_power_up()/down() helpers checks whether the codec
      is being in pm (suspend/resume), and skips the call of runtime get/put
      during it.  This is needed as there are lots of power up/down
      sequences called in the paths that are also used in the PM itself.  An
      example is found in hda_codec.c::codec_exec_verb(), where this can
      power up the codec while it may be called again in its power up
      sequence, too.
      
      The above works in most cases, but sometimes we really want to wait
      for the real power up.  For example, the control element get/put may
      want explicit power up so that the value change is assured to reach to
      the hardware.   Using the current snd_hdac_power_up(), however,
      results in a race, e.g. when it's called during the runtime suspend is
      being performed.  In the worst case, as found in patch_ca0132.c, it
      can even lead to the deadlock because the code assumes the power up
      while it was skipped due to the check above.
      
      For dealing with such cases, this patch makes snd_hdac_power_up() and
      _down() to two variants: with and without in_pm flag check.  The
      version with pm flag check is named as snd_hdac_power_up_pm() while
      the version without pm flag check is still kept as
      snd_hdac_power_up().  (Just because the usage of the former is fewer.)
      
      Then finally, the patch replaces each call potentially done in PM with
      the new _pm() variant.
      
      In theory, we can implement a unified version -- if we can distinguish
      the current context whether it's in the pm path.  But such an
      implementation is cumbersome, so leave the code like this a bit messy
      way for now...
      
      Bugzilla: https://bugzilla.kernel.org/show_bug.cgi?id=96271Signed-off-by: NTakashi Iwai <tiwai@suse.de>
      664c7155
    • T
      ALSA: hda - Create AFG sysfs node at last · 142267c9
      Takashi Iwai 提交于
      ... so that user-space can know that the whole nodes have been
      created.  Unfortunately, this can't be implemented easily in race-free
      way, so it's a kind of compromise.
      Signed-off-by: NTakashi Iwai <tiwai@suse.de>
      142267c9
    • K
      ALSA: hda/realtek - Support Dell headset mode for ALC288 · e1e62b98
      Kailang Yang 提交于
      Dell create new platform with ALC288 codec.
      This patch will enable headset mode for Dino platform.
      
      [slight code refactoring and compile fix by tiwai]
      Signed-off-by: NKailang Yang <kailang@realtek.com>
      Signed-off-by: NTakashi Iwai <tiwai@suse.de>
      e1e62b98
    • K
      ALSA: hda/realtek - Support headset mode for ALC286/288 · f3b70332
      Kailang Yang 提交于
      Support headset mode for ALC286 and ALC288 platforms.
      Signed-off-by: NKailang Yang <kailang@realtek.com>
      Signed-off-by: NTakashi Iwai <tiwai@suse.de>
      f3b70332
    • K
      ALSA: hda/realtek - Make more stable to get pin sense for ALC283 · a59d7199
      Kailang Yang 提交于
      Pin sense will active when power pin is wake up.
      Power pin will not wake up immediately during resume state.
      Add some delay to wait for power pin activated.
      Signed-off-by: NKailang Yang <kailang@realtek.com>
      Cc: <stable@vger.kernel.org>
      Signed-off-by: NTakashi Iwai <tiwai@suse.de>
      a59d7199
  7. 07 4月, 2015 1 次提交
  8. 06 4月, 2015 2 次提交
  9. 05 4月, 2015 1 次提交
  10. 04 4月, 2015 6 次提交
  11. 27 3月, 2015 1 次提交
  12. 26 3月, 2015 1 次提交
    • T
      ALSA: hda - Handle a few verbs as read-only · 8bc174e9
      Takashi Iwai 提交于
      Although they can be written, handle a few verbs as read-only in
      regmap interface: CONFIG_DEFAULT, CONV and CVT_CHAN_COUNT.  These are
      either updated in PCM or HDMI management code in a volatile manner, or
      just needed only as parameter, thus they don't need to be written at
      resume sync.
      Signed-off-by: NTakashi Iwai <tiwai@suse.de>
      8bc174e9