ALSA: hda - allow a codec to control the link power
authorMengdong Lin <mengdong.lin@intel.com>
Wed, 29 Apr 2015 09:43:20 +0000 (17:43 +0800)
committerTakashi Iwai <tiwai@suse.de>
Wed, 29 Apr 2015 10:27:52 +0000 (12:27 +0200)
commita5e7e07c264bb76d0b7c782766989c491833de05
tree35cd2d573347f42a479f65079d17cb9562fd3f4d
parentd4b7b13e19258a848da920502e27526f36c5a59d
ALSA: hda - allow a codec to control the link power

A flag "link_power_control" is added to indicate whether a codec needs to
control the link power.  And a new bus ops link_power() is defined for the
codec to request to enable/disable the link power.

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