From d4b7b13e19258a848da920502e27526f36c5a59d Mon Sep 17 00:00:00 2001 From: Mengdong Lin Date: Wed, 29 Apr 2015 17:43:12 +0800 Subject: 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 Signed-off-by: Takashi Iwai --- sound/pci/hda/hda_intel.h | 1 + 1 file changed, 1 insertion(+) (limited to 'sound/pci/hda/hda_intel.h') 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 -- cgit v1.2.3