]> git.baikalelectronics.ru Git - kernel.git/commit
ALSA: hda: Copying sync power state helper to core
authorAbhijeet Kumar <abhijeet.kumar@intel.com>
Tue, 23 Jan 2018 17:30:51 +0000 (23:00 +0530)
committerTakashi Iwai <tiwai@suse.de>
Mon, 12 Feb 2018 12:59:39 +0000 (13:59 +0100)
commitd60c6a09e5f7bdfb330e48dce7c51f898598249d
tree0b728a4c05c493cf70543545383a18060eeb48c8
parentbcac507057f6668c45308343ba41f4c91a086136
ALSA: hda: Copying sync power state helper to core

The current sync_power_state is local to hda code, moving it
core so that other users apart from hda legacy can use it.
The helper function ensures the actual state reaches the target state.

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