From: Konrad Dybcio <konrad.dybcio@oss.qualcomm.com>
To: Alexey Klimov <alexey.klimov@linaro.org>,
Prasad Kumpatla <prasad.kumpatla@oss.qualcomm.com>,
Srinivas Kandagatla <srini@kernel.org>,
Liam Girdwood <lgirdwood@gmail.com>,
Mark Brown <broonie@kernel.org>, Rob Herring <robh@kernel.org>,
Krzysztof Kozlowski <krzk+dt@kernel.org>,
Conor Dooley <conor+dt@kernel.org>,
Jaroslav Kysela <perex@perex.cz>, Takashi Iwai <tiwai@suse.com>,
Rao Mandadapu <quic_srivasam@quicinc.com>
Cc: linux-arm-msm@vger.kernel.org, linux-sound@vger.kernel.org,
devicetree@vger.kernel.org, linux-kernel@vger.kernel.org,
kernel@oss.qualcomm.com, aiqun.yu@oss.qualcomm.com,
tingwei.zhang@oss.qualcomm.com, trilok.soni@oss.qualcomm.com,
yijie.yang@oss.qualcomm.com, jingyi.wang@oss.qualcomm.com
Subject: Re: [PATCH v2 1/5] ASoC: codecs: va-macro: Rework version checking
Date: Thu, 9 Oct 2025 17:48:09 +0200 [thread overview]
Message-ID: <69ef6c4e-aea2-4528-9b5a-02488087ad0e@oss.qualcomm.com> (raw)
In-Reply-To: <DDDW9FN6B097.188MIFGQOOSQW@linaro.org>
On 10/9/25 5:25 PM, Alexey Klimov wrote:
> On Thu Oct 9, 2025 at 3:36 PM BST, Prasad Kumpatla wrote:
>> From: Konrad Dybcio <konrad.dybcio@oss.qualcomm.com>
>>
>> Open-code some of the registers to make the checks anywhere near human-
>> readable. Error out if the version is unsupported or if the VA macro
>> isn't supposed to be present within this LPASS instance (since we can
>> check for that now).
>
[...]
>> + if (version == LPASS_CODEC_VERSION_UNKNOWN) {
>> + dev_err(va->dev, "VA Macro v%u.%u.%u is not supported\n",
>> + maj, min, step);
>> + return -EOPNOTSUPP;
>> + }
>
> Why?
>
> As far as I understand the behaviour before this change is to continue
> even with unsupported LPASS va macro version. IIRC when I enabled sound
> on Kaanapali QRD device it worked even with unsupported version, it just
> needed a fix to calm down the warning.
>
> Why this needed to be changed to error out as unsupported now? Will there
> be a permanent damage to hw/fw if we continue?
Unsupported hw is unsupported, simple as that
We can not predict what a new hw version will bring and it's
better to have the human decide
Konrad
next prev parent reply other threads:[~2025-10-09 15:48 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-10-09 14:36 [PATCH v2 0/5] Add Audio Support for Kaanapali MTP Boards Prasad Kumpatla
2025-10-09 14:36 ` [PATCH v2 1/5] ASoC: codecs: va-macro: Rework version checking Prasad Kumpatla
2025-10-09 15:25 ` Alexey Klimov
2025-10-09 15:48 ` Konrad Dybcio [this message]
2025-10-09 14:36 ` [PATCH v2 2/5] ASoC: dt-bindings: qcom,sm8250: Add kaanapali sound card Prasad Kumpatla
2025-10-10 0:27 ` Krzysztof Kozlowski
2025-10-09 14:36 ` [PATCH v2 3/5] ASoC: qcom: sc8280xp: Add support for Kaanapali Prasad Kumpatla
2025-10-09 14:36 ` [PATCH v2 4/5] dt-bindings: soundwire: qcom: Add SoundWire v2.2.0 compatible Prasad Kumpatla
2025-10-10 0:28 ` Krzysztof Kozlowski
2025-10-09 14:36 ` [PATCH v2 5/5] ASoC: dt-bindings: qcom: Add Kaanapali LPASS macro codecs Prasad Kumpatla
2025-10-10 0:24 ` Krzysztof Kozlowski
2025-10-13 14:46 ` Prasad Kumpatla
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=69ef6c4e-aea2-4528-9b5a-02488087ad0e@oss.qualcomm.com \
--to=konrad.dybcio@oss.qualcomm.com \
--cc=aiqun.yu@oss.qualcomm.com \
--cc=alexey.klimov@linaro.org \
--cc=broonie@kernel.org \
--cc=conor+dt@kernel.org \
--cc=devicetree@vger.kernel.org \
--cc=jingyi.wang@oss.qualcomm.com \
--cc=kernel@oss.qualcomm.com \
--cc=krzk+dt@kernel.org \
--cc=lgirdwood@gmail.com \
--cc=linux-arm-msm@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-sound@vger.kernel.org \
--cc=perex@perex.cz \
--cc=prasad.kumpatla@oss.qualcomm.com \
--cc=quic_srivasam@quicinc.com \
--cc=robh@kernel.org \
--cc=srini@kernel.org \
--cc=tingwei.zhang@oss.qualcomm.com \
--cc=tiwai@suse.com \
--cc=trilok.soni@oss.qualcomm.com \
--cc=yijie.yang@oss.qualcomm.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
all inboxes | Powered by JetHome®