drm/i915: Split audio component to a generic type
For allowing other drivers to use the DRM audio component, rename the i915_audio_component_* with drm_audio_component_*, and split the generic part into drm_audio_component.h. The i915 specific stuff remains in struct i915_audio_component, which contains drm_audio_component as the base. The license of drm_audio_component.h is kept to MIT as same as the the original i915_component.h. This is a preliminary change for further development, and no functional changes by this patch itself, merely code-split and renames. v1->v2: Use SPDX for drm_audio_component.h, fix remaining i915 argument in drm_audio_component.h Reviewed-by:Rodrigo Vivi <rodrigo.vivi@intel.com> Signed-off-by:
Takashi Iwai <tiwai@suse.de>
Showing
- drivers/gpu/drm/i915/intel_audio.c 12 additions, 10 deletionsdrivers/gpu/drm/i915/intel_audio.c
- include/drm/drm_audio_component.h 95 additions, 0 deletionsinclude/drm/drm_audio_component.h
- include/drm/i915_component.h 5 additions, 80 deletionsinclude/drm/i915_component.h
- include/sound/hda_i915.h 3 additions, 3 deletionsinclude/sound/hda_i915.h
- include/sound/hdaudio.h 3 additions, 3 deletionsinclude/sound/hdaudio.h
- sound/hda/hdac_i915.c 21 additions, 19 deletionssound/hda/hdac_i915.c
- sound/pci/hda/patch_hdmi.c 4 additions, 4 deletionssound/pci/hda/patch_hdmi.c
- sound/soc/codecs/hdac_hdmi.c 1 addition, 1 deletionsound/soc/codecs/hdac_hdmi.c
Loading
Please register or sign in to comment