summaryrefslogtreecommitdiffstats
path: root/sound/soc/intel
diff options
context:
space:
mode:
authorJeeja KP2015-08-01 16:10:40 +0200
committerMark Brown2015-08-07 15:26:01 +0200
commitaba3dd5ace59d038a9d69e0f5319b6fec61012c8 (patch)
treeec8d271e04e79f18d8385702f8b1639a093cf1c6 /sound/soc/intel
parentASoC: Intel: Skylake: Fix the NHLT rate size (diff)
downloadkernel-qcow2-linux-aba3dd5ace59d038a9d69e0f5319b6fec61012c8.tar.gz
kernel-qcow2-linux-aba3dd5ace59d038a9d69e0f5319b6fec61012c8.tar.xz
kernel-qcow2-linux-aba3dd5ace59d038a9d69e0f5319b6fec61012c8.zip
ASoC: Intel: Skylake: Use acpi header for NHLT header
Instead of defining own acpi header, use the available acpi header defined in acpi framework. Signed-off-by: Jeeja KP <jeeja.kp@intel.com> Signed-off-by: Vinod Koul <vinod.koul@intel.com> Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'sound/soc/intel')
-rw-r--r--sound/soc/intel/skylake/skl-nhlt.c1
-rw-r--r--sound/soc/intel/skylake/skl-nhlt.h14
2 files changed, 2 insertions, 13 deletions
diff --git a/sound/soc/intel/skylake/skl-nhlt.c b/sound/soc/intel/skylake/skl-nhlt.c
index a14009b47b29..13036b19d7e5 100644
--- a/sound/soc/intel/skylake/skl-nhlt.c
+++ b/sound/soc/intel/skylake/skl-nhlt.c
@@ -17,7 +17,6 @@
* ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
*
*/
-#include <linux/acpi.h>
#include "skl.h"
/* Unique identification for getting NHLT blobs */
diff --git a/sound/soc/intel/skylake/skl-nhlt.h b/sound/soc/intel/skylake/skl-nhlt.h
index b0e2e4da42a1..3769f9fefe2b 100644
--- a/sound/soc/intel/skylake/skl-nhlt.h
+++ b/sound/soc/intel/skylake/skl-nhlt.h
@@ -20,17 +20,7 @@
#ifndef __SKL_NHLT_H__
#define __SKL_NHLT_H__
-struct acpi_desc_header {
- u32 signature;
- u32 length;
- u8 revision;
- u8 checksum;
- u8 oem_id[6];
- u64 oem_table_id;
- u32 oem_revision;
- u32 creator_id;
- u32 creator_revision;
-} __packed;
+#include <linux/acpi.h>
struct wav_fmt {
u16 fmt_tag;
@@ -98,7 +88,7 @@ struct nhlt_endpoint {
} __packed;
struct nhlt_acpi_table {
- struct acpi_desc_header header;
+ struct acpi_table_header header;
u8 endpoint_count;
struct nhlt_endpoint desc[0];
} __packed;