From: Mark Brown <broonie@kernel.org>
To: Guneshwor Singh <guneshwor.o.singh@intel.com>
Cc: alsa-devel@alsa-project.org, Takashi Iwai <tiwai@suse.de>,
Patches Audio <patches.audio@intel.com>,
Liam Girdwood <liam.r.girdwood@linux.intel.com>,
Vinod Koul <vinod.koul@intel.com>,
Mark Brown <broonie@kernel.org>
Subject: Applied "ASoC: Intel: Skylake: Do not check dev_type for dmic link type" to the asoc tree
Date: Wed, 06 Dec 2017 17:49:11 +0000 [thread overview]
Message-ID: <E1eMdol-0004kq-JX@debutante> (raw)
In-Reply-To: <20171206110406.11400-5-guneshwor.o.singh@intel.com>
The patch
ASoC: Intel: Skylake: Do not check dev_type for dmic link type
has been applied to the asoc tree at
https://git.kernel.org/pub/scm/linux/kernel/git/broonie/sound.git
All being well this means that it will be integrated into the linux-next
tree (usually sometime in the next 24 hours) and sent to Linus during
the next merge window (or sooner if it is a bug fix), however if
problems are discovered then the patch may be dropped or reverted.
You may get further e-mails resulting from automated or manual testing
and review of the tree, please engage with people reporting problems and
send followup patches addressing any issues that are reported if needed.
If any updates are required or you are submitting further changes they
should be sent as incremental updates against current git, existing
patches will not be replaced.
Please add any relevant lists and maintainers to the CCs when replying
to this mail.
Thanks,
Mark
>From e02b03303f13b6a571f01b4d84b69440696d2dde Mon Sep 17 00:00:00 2001
From: Guneshwor Singh <guneshwor.o.singh@intel.com>
Date: Wed, 6 Dec 2017 16:34:04 +0530
Subject: [PATCH] ASoC: Intel: Skylake: Do not check dev_type for dmic link
type
Some BIOS have inconsistent dev_type value for DMIC link type.
Since there is only one device type for DMIC link type, remove device
type check if link type is NHLT_LINK_DMIC.
Signed-off-by: Guneshwor Singh <guneshwor.o.singh@intel.com>
Acked-By: Vinod Koul <vinod.koul@intel.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
---
sound/soc/intel/skylake/skl-nhlt.c | 15 ++++++++++-----
1 file changed, 10 insertions(+), 5 deletions(-)
diff --git a/sound/soc/intel/skylake/skl-nhlt.c b/sound/soc/intel/skylake/skl-nhlt.c
index d14c50a60289..3eaac41090ca 100644
--- a/sound/soc/intel/skylake/skl-nhlt.c
+++ b/sound/soc/intel/skylake/skl-nhlt.c
@@ -119,11 +119,16 @@ static bool skl_check_ep_match(struct device *dev, struct nhlt_endpoint *epnt,
if ((epnt->virtual_bus_id == instance_id) &&
(epnt->linktype == link_type) &&
- (epnt->direction == dirn) &&
- (epnt->device_type == dev_type))
- return true;
- else
- return false;
+ (epnt->direction == dirn)) {
+ /* do not check dev_type for DMIC link type */
+ if (epnt->linktype == NHLT_LINK_DMIC)
+ return true;
+
+ if (epnt->device_type == dev_type)
+ return true;
+ }
+
+ return false;
}
struct nhlt_specific_cfg
--
2.15.0
next prev parent reply other threads:[~2017-12-06 17:49 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-12-06 11:04 [PATCH v2 0/6] ASoC: Intel: Skylake: Skylake driver updates Guneshwor Singh
2017-12-06 11:04 ` [PATCH v2 1/6] ASoC: Intel: Skylake: Remove second shim read in register_poll Guneshwor Singh
2017-12-06 11:04 ` [PATCH v2 2/6] ASoC: Intel: Skylake: Parse vendor tokens to build A-State table Guneshwor Singh
2017-12-06 11:04 ` [PATCH v2 3/6] ASoC: Intel: Skylake: Configure DSP clock source Guneshwor Singh
2017-12-06 11:04 ` [PATCH v2 4/6] ASoC: Intel: Skylake: Do not check dev_type for dmic link type Guneshwor Singh
2017-12-06 17:49 ` Mark Brown [this message]
2017-12-06 11:04 ` [PATCH v2 5/6] ASoC: hdac_hdmi: Refresh sysfs during hdmi device probe Guneshwor Singh
2017-12-06 17:49 ` Applied "ASoC: hdac_hdmi: Refresh sysfs during hdmi device probe" to the asoc tree Mark Brown
2017-12-06 11:04 ` [PATCH v2 6/6] ASoC: hdac_hdmi: Remove redundant assignments Guneshwor Singh
2017-12-06 17:49 ` Applied "ASoC: hdac_hdmi: Remove redundant assignments" to the asoc tree Mark Brown
2017-12-06 15:43 ` [PATCH v2 0/6] ASoC: Intel: Skylake: Skylake driver updates Vinod Koul
2017-12-06 17:43 ` Mark Brown
2017-12-07 12:11 ` Singh, Guneshwor
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=E1eMdol-0004kq-JX@debutante \
--to=broonie@kernel.org \
--cc=alsa-devel@alsa-project.org \
--cc=guneshwor.o.singh@intel.com \
--cc=liam.r.girdwood@linux.intel.com \
--cc=patches.audio@intel.com \
--cc=tiwai@suse.de \
--cc=vinod.koul@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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox