All of lore.kernel.org
 help / color / mirror / Atom feed
From: Vinod Koul <vinod.koul@intel.com>
To: alsa-devel@alsa-project.org
Cc: liam.r.girdwood@linux.intel.com, patches.audio@intel.com,
	broonie@kernel.org, Vinod Koul <vinod.koul@intel.com>,
	Jeeja KP <jeeja.kp@intel.com>
Subject: [PATCH v2 2/6] ASoC: Intel: Skylake: Use acpi header for NHLT header
Date: Sat,  1 Aug 2015 19:40:40 +0530	[thread overview]
Message-ID: <1438438244-17974-3-git-send-email-vinod.koul@intel.com> (raw)
In-Reply-To: <1438438244-17974-1-git-send-email-vinod.koul@intel.com>

From: Jeeja KP <jeeja.kp@intel.com>

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>
---
 sound/soc/intel/skylake/skl-nhlt.c |  1 -
 sound/soc/intel/skylake/skl-nhlt.h | 14 ++------------
 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;
-- 
1.9.1

  parent reply	other threads:[~2015-08-01 14:09 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-08-01 14:10 [PATCH v2 0/6] ASoC: Intel: Skylake: Add DSP management routines Vinod Koul
2015-08-01 14:10 ` [PATCH v2 1/6] ASoC: Intel: Skylake: Fix the NHLT rate size Vinod Koul
2015-08-07 13:26   ` Applied "ASoC: Intel: Skylake: Fix the NHLT rate size" to the asoc tree Mark Brown
2015-08-01 14:10 ` Vinod Koul [this message]
2015-08-07 13:26   ` Applied "ASoC: Intel: Skylake: Use acpi header for NHLT header" " Mark Brown
2015-08-01 14:10 ` [PATCH v2 3/6] ASoC: Intel: Skylake: Add helpers for DSP module configuration Vinod Koul
2015-08-07 13:26   ` Applied "ASoC: Intel: Skylake: Add helpers for DSP module configuration" to the asoc tree Mark Brown
2015-08-01 14:10 ` [PATCH v2 4/6] ASoC: Intel: Skylake: Add helpers for SRC and converter modules Vinod Koul
2015-08-07 13:26   ` Applied "ASoC: Intel: Skylake: Add helpers for SRC and converter modules" to the asoc tree Mark Brown
2015-08-01 14:10 ` [PATCH v2 5/6] ASoC: Intel: Skylake: Add DSP module init and binding routines Vinod Koul
2015-08-07 13:26   ` Applied "ASoC: Intel: Skylake: Add DSP module init and binding routines" to the asoc tree Mark Brown
2015-08-01 14:10 ` [PATCH v2 6/6] ASoC: Intel: Skylake: Add pipe management helpers Vinod Koul
2015-08-07 13:26   ` Applied "ASoC: Intel: Skylake: Add pipe management helpers" to the asoc tree Mark Brown

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1438438244-17974-3-git-send-email-vinod.koul@intel.com \
    --to=vinod.koul@intel.com \
    --cc=alsa-devel@alsa-project.org \
    --cc=broonie@kernel.org \
    --cc=jeeja.kp@intel.com \
    --cc=liam.r.girdwood@linux.intel.com \
    --cc=patches.audio@intel.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.