On Fri, 02 Mar 2018 11:51:53 +0100, Rakesh Ughreja wrote:
Enhanced HD Audio capabilities introduced in HD Audio controllers are added in backward compatible way i.e. it does not change the behavior of the controller with respect to HDA Bus and HDA devices.
Since there is no change in the hardware with respect to the HDA bus and HDA device it is more appropriate to represent the same in software as well.
In order to align software representation with hardware it makes more sense to have common data structures across device, bus and driver for both enhanced HDA controllers and legacy HDA controllers.
This patch series removes the hdac_ext_device structure, hdac_ext_bus and hdac_ext_driver data structures so that legacy and enhanced HDaudio capabilities can be handled in a backward-compatible way without separate definitions.
Once this clean-up is complete, additional patches will allow for HDaudio codec support in an ASoC framework without the need to develop new codec drivers, thereby enabling the use of the Intel DSP on more platforms (currently limited to hdmi).
Changes v2:
- No functionality changes in this series except rebase.
Rakesh Ughreja (3): ALSA: hdac: Remove usage of struct hdac_ext_device and use hdac_device instead ALSA: hdac: Remove usage of struct hdac_ext_bus and use hdac_bus instead ALSA: hdac: Remove usage of struct hdac_ext_driver, use hdac_driver instead
These are merely cleanups, so I'm fine to merge these, but I can't merge for now since it's based on Mark's branch.
Mark, please send a pull request for Intel SKL stuff before working on this issue. Then we can set the solid base line for both legacy and asoc HD-audio.
thanks,
Takashi