summaryrefslogtreecommitdiffstats
path: root/drivers/hid/hid-axff.c
diff options
context:
space:
mode:
authorTakashi Iwai <tiwai@suse.de>2015-12-01 16:49:35 +0100
committerTakashi Iwai <tiwai@suse.de>2015-12-04 16:03:45 +0100
commit6603249dcdbb6aab0b726bdf372d6f20c0d2d611 (patch)
tree087c3fef112b86886563f88aefe8974ca5e47be5 /drivers/hid/hid-axff.c
parente90247f9fceeebe5bdaac2d87e301e73bae9bc1f (diff)
downloadop-kernel-dev-6603249dcdbb6aab0b726bdf372d6f20c0d2d611.zip
op-kernel-dev-6603249dcdbb6aab0b726bdf372d6f20c0d2d611.tar.gz
ALSA: hda - Enable audio component for old Intel PCH devices
As i915 graphics driver provides the notification via audio component, not only the currently implemented HSW+ and VLV+ platforms but also all other PCH-based platforms (e.g. Cougar Point, Panther Point, etc) can use this infrastructure. It'll improve the reliability and the power consumption significantly, especially once when we implement the ELD notification via component. As a preliminary, this patch enables the usage of audio component for all PCH platforms. The HDA controller just needs to set AZX_DCAPS_I915_POWERWELL flag appropriately. The name of the flag is a bit confusing, but this actually works even on the chips without the powerwell but accesses only the other component ops. In the HDMI/DP codec driver side, we just need to register/unregister the notifier for such chips. This can be identified by checking the audio_component field in the assigned hdac_bus. One caveat is that PCH for Haswell and Broadwell must not be bound with i915 audio component, as there are dedicated HD-audio HDMI controllers on these platforms. Ditto for Poulsbo and Oaktrail as they use gma500 graphics, not i915. Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'drivers/hid/hid-axff.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud