ALSA: hda: Make use of core codec functions to sync power state
authorAbhijeet Kumar <abhijeet.kumar@intel.com>
Tue, 23 Jan 2018 17:30:52 +0000 (23:00 +0530)
committerTakashi Iwai <tiwai@suse.de>
Mon, 12 Feb 2018 12:59:48 +0000 (13:59 +0100)
commit3b5b899ca67db07a4c4825911072221f99e157e2
tree7f67a8246042dc97c6306e3fde4086592c6a8ff6
parent09787492537462e3c7b8f67b30ff9704062f97cc
ALSA: hda: Make use of core codec functions to sync power state

Since sync_power_state is moved to core it's better to use the helper
function to ensure the actual power state reaches target instead of
using the local helper functions already exsisting in hda code.

Signed-off-by: Abhijeet Kumar <abhijeet.kumar@intel.com>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/pci/hda/hda_codec.c
sound/pci/hda/hda_local.h