]> git.baikalelectronics.ru Git - kernel.git/commit
ALSA: hda - clean up code to reset hda link
authorMengdong Lin <mengdong.lin@intel.com>
Tue, 25 Jun 2013 09:58:49 +0000 (05:58 -0400)
committerTakashi Iwai <tiwai@suse.de>
Tue, 25 Jun 2013 06:13:56 +0000 (08:13 +0200)
commitb5908ebd7184e0da4900564eb9e681e22bf1d97c
tree7727f97b3f7ab33a97435447b9bd11c9c6002933
parentacdbc22e8eb1fa14cd9fb2a56b9d3193e3dedb23
ALSA: hda - clean up code to reset hda link

This patch is a cleanup to the previous patch "reset hda link during system/
runtime suspend".

In this patch
- azx_enter_link_reset() and azx_exit_link_reset() are defined for entering and
  exiting the link reset respectively. azx_link_reset() is no longer used and
  replaced by azx_enter_link_reset().
- azx_reset() reuses the above two new functions for a link reset cycle

Signed-off-by: Mengdong Lin <mengdong.lin@intel.com>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/pci/hda/hda_intel.c