diff options
author | Mengdong Lin <mengdong.lin@intel.com> | 2015-04-29 17:43:12 +0800 |
---|---|---|
committer | Takashi Iwai <tiwai@suse.de> | 2015-04-29 12:27:52 +0200 |
commit | d4b7b13e19258a848da920502e27526f36c5a59d (patch) | |
tree | fd2a55f49787b4621511bfd6b9aca7475f7a88d4 /sound/pci/hda/hda_intel.h | |
parent | 0dd76f36efa43fa75a568b0d24736a9e51d51170 (diff) | |
download | blackbird-op-linux-d4b7b13e19258a848da920502e27526f36c5a59d.tar.gz blackbird-op-linux-d4b7b13e19258a848da920502e27526f36c5a59d.zip |
ALSA: hda - implement a refcount for i915 power well switch
This is to check the refcount of audio driver and reduce calling to i915.
Signed-off-by: Mengdong Lin <mengdong.lin@intel.com>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'sound/pci/hda/hda_intel.h')
-rw-r--r-- | sound/pci/hda/hda_intel.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/sound/pci/hda/hda_intel.h b/sound/pci/hda/hda_intel.h index 206989878bc6..dc1d3ffab1aa 100644 --- a/sound/pci/hda/hda_intel.h +++ b/sound/pci/hda/hda_intel.h @@ -46,6 +46,7 @@ struct hda_intel { /* i915 component interface */ struct i915_audio_component audio_component; + int i915_power_refcount; }; #ifdef CONFIG_SND_HDA_I915 |