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 1/6] ASoC: Intel: Skylake: Fix the NHLT rate size
Date: Sat,  1 Aug 2015 19:40:39 +0530	[thread overview]
Message-ID: <1438438244-17974-2-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>

Sampling rate type needs to be u32 instead of u8, nhlt wav format
description expected u32 for rate, passing u8 will fetch NULL
config in skl_get_ep_blob().

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 | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sound/soc/intel/skylake/skl-nhlt.c b/sound/soc/intel/skylake/skl-nhlt.c
index 5c0895eaa10a..a14009b47b29 100644
--- a/sound/soc/intel/skylake/skl-nhlt.c
+++ b/sound/soc/intel/skylake/skl-nhlt.c
@@ -56,7 +56,7 @@ void skl_nhlt_free(void __iomem *addr)
 
 static struct nhlt_specific_cfg *skl_get_specific_cfg(
 		struct device *dev, struct nhlt_fmt *fmt,
-		u8 no_ch, u8 rate, u16 bps)
+		u8 no_ch, u32 rate, u16 bps)
 {
 	struct nhlt_specific_cfg *sp_config;
 	struct wav_fmt *wfmt;
-- 
1.9.1

  reply	other threads:[~2015-08-01 14:08 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 ` Vinod Koul [this message]
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 ` [PATCH v2 2/6] ASoC: Intel: Skylake: Use acpi header for NHLT header Vinod Koul
2015-08-07 13:26   ` Applied "ASoC: Intel: Skylake: Use acpi header for NHLT header" to the asoc tree 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-2-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.