[alsa-devel] [PATCH v7 5/7] ASoC: Intel: Skylake: use hda_bus instead of hdac_bus
Takashi Iwai
tiwai at suse.de
Tue Aug 21 19:02:31 CEST 2018
On Fri, 17 Aug 2018 22:37:21 +0200,
Pierre-Louis Bossart wrote:
>
> From: Rakesh Ughreja <rakesh.a.ughreja at intel.com>
>
> Use hda_bus instead of hdac_bus in the SKL ASoC platform driver to enable
> reuse of legacy HDA codec drivers.
>
> Signed-off-by: Rakesh Ughreja <rakesh.a.ughreja at intel.com>
> Signed-off-by: Pierre-Louis Bossart <pierre-louis.bossart at linux.intel.com>
> ---
> sound/soc/intel/skylake/skl.c | 11 +++++++++--
> sound/soc/intel/skylake/skl.h | 10 +++++++---
> 2 files changed, 16 insertions(+), 5 deletions(-)
>
> diff --git a/sound/soc/intel/skylake/skl.c b/sound/soc/intel/skylake/skl.c
> index c83194de4aed..3b070988e6c2 100644
> --- a/sound/soc/intel/skylake/skl.c
> +++ b/sound/soc/intel/skylake/skl.c
> @@ -36,6 +36,7 @@
> #include "skl.h"
> #include "skl-sst-dsp.h"
> #include "skl-sst-ipc.h"
> +#include "../../../pci/hda/hda_codec.h"
It's better to move this header to include/sound, so that it can be
included more gracefully.
thanks,
Takashi
More information about the Alsa-devel
mailing list