• Imre Deak's avatar
    ALSA: hda: add component support · d7055bd6
    Imre Deak authored
    Register a component master to be used to interface with the i915
    driver. This is meant to replace the current interface which is based on
    module symbol lookups.
    
    Note that currently we keep the existing behavior and pin the i915
    module while the hda driver is loaded. Using the component interface
    allows us to remove this dependency once support for dynamically
    enabling / disabling the HDMI functionality is added to the driver.
    
    v2:
    - change roles between the hda and i915 components (Daniel)
    v3:
    - rename display_component to audio_component (Daniel)
    v4:
    - move removal of i915_powerwell.h from this patch to the next (Takashi)
    - request_module fails if module support isn't enabled, so ignore
      any error it returns and depend on the following NULL check of the
      component ops (Takashi)
    - change over to using dev_* instead of pr_* (Takashi)
    Signed-off-by: default avatarImre Deak <imre.deak@intel.com>
    Reviewed-by: default avatarTakashi Iwai <tiwai@suse.de>
    Signed-off-by: default avatarDaniel Vetter <daniel.vetter@ffwll.ch>
    d7055bd6
hda_intel.h 1.99 KB