From: Takashi Iwai <tiwai@suse.de>
To: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
Cc: alsa-devel@alsa-project.org,
Kai Vehmanen <kai.vehmanen@linux.intel.com>,
Guennadi Liakhovetski <guennadi.liakhovetski@intel.com>,
Cezary Rojewski <cezary.rojewski@intel.com>,
Rander Wang <rander.wang@intel.com>,
broonie@kernel.org
Subject: Re: [PATCH] ALSA: hda: intel-nhlt: verify config type
Date: Tue, 02 Mar 2021 10:24:06 +0100 [thread overview]
Message-ID: <s5hlfb5hps9.wl-tiwai@suse.de> (raw)
In-Reply-To: <20210302000146.1177770-1-pierre-louis.bossart@linux.intel.com>
On Tue, 02 Mar 2021 01:01:46 +0100,
Pierre-Louis Bossart wrote:
>
> Multiple bug reports report issues with the SOF and SST drivers when
> dealing with single microphone cases.
>
> We currently read the DMIC array information unconditionally but we
> don't check that the configuration type is actually a mic array.
>
> When the DMIC link does not rely on a mic array configuration, the
> recommendation is to check the format information to infer the maximum
> number of channels, and map this to the number of microphones.
>
> This leaves a potential for a mismatch between actual microphones
> available in hardware and what the ACPI table contains, but we have no
> other source of information.
>
> Note that single microphone configurations can alternatively be
> handled with a 'mic array' configuration along with a 'vendor-defined'
> geometry.
>
> Bugzilla: https://bugzilla.kernel.org/show_bug.cgi?id=201251
> BugLink: https://github.com/thesofproject/linux/issues/2725
> Fixes: 7a33ea70e1868 ('ALSA: hda: intel-nhlt: handle NHLT VENDOR_DEFINED DMIC geometry')
> Signed-off-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
> Reviewed-by: Guennadi Liakhovetski <guennadi.liakhovetski@intel.com>
> Reviewed-by: Rander Wang <rander.wang@intel.com>
> Reviewed-by: Kai Vehmanen <kai.vehmanen@linux.intel.com>
Thanks, applied.
Takashi
prev parent reply other threads:[~2021-03-02 9:25 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-03-02 0:01 [PATCH] ALSA: hda: intel-nhlt: verify config type Pierre-Louis Bossart
2021-03-02 9:24 ` Takashi Iwai [this message]
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=s5hlfb5hps9.wl-tiwai@suse.de \
--to=tiwai@suse.de \
--cc=alsa-devel@alsa-project.org \
--cc=broonie@kernel.org \
--cc=cezary.rojewski@intel.com \
--cc=guennadi.liakhovetski@intel.com \
--cc=kai.vehmanen@linux.intel.com \
--cc=pierre-louis.bossart@linux.intel.com \
--cc=rander.wang@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