All of lore.kernel.org
 help / color / mirror / Atom feed
From: sashiko-bot@kernel.org
To: "Srinivas Kandagatla" <srinivas.kandagatla@oss.qualcomm.com>
Cc: linux-sound@vger.kernel.org
Subject: Re: [PATCH 2/4] soundwire: qcom: skip offset2 write when unset
Date: Wed, 25 Nov 2026 11:01:28 +0000	[thread overview]
Message-ID: <sashiko-outbox-233186@kernel.org> (raw)
In-Reply-To: <20261125103825.936939-3-srinivas.kandagatla@oss.qualcomm.com>

Thank you for your contribution! Sashiko AI review found 1 potential
issue to consider:
- [Low] soundwire: qcom: inaccurate Fixes tag and stray cherry-pick line
--

commit a8809d3702c2245266df6ea0d292d958482e7c89
Author: Ravi Hothi <ravi.hothi@oss.qualcomm.com>

> soundwire: qcom: skip offset2 write when unset
>
> qcom_swrm_transport_params() writes offset2 into the port control
> register even when the port does not use it. Many DTs mark such ports
> with 0xff (SWR_INVALID_PARAM) in qcom,ports-offset2, which is then
> programmed as an offset of 255.
>
> Skip the field when it is unset, like the other optional fields.
>
> Fixes: 02efb49aa805 ("soundwire: qcom: add support for SoundWire controller")
> Cc: stable@vger.kernel.org
> Signed-off-by: Ravi Hothi <ravi.hothi@oss.qualcomm.com>
> Signed-off-by: Srinivas Kandagatla <srinivas.kandagatla@oss.qualcomm.com>
> (cherry picked from commit 65aca3ef0d1fb2f6b20892f0d1a3a1ef391ccf7f)

[Severity: Low]
SWR_INVALID_PARAM (0xff) and the checks for optional transport parameters
were added in 128eaf937adb ("soundwire: qcom: add support to missing
transport params"), which left pcfg->off2 unguarded.  Should the Fixes:
tag reference that commit instead:

  Fixes: 128eaf937adb ("soundwire: qcom: add support to missing transport params")

The "(cherry picked from commit ...)" line at the end also references a
commit SHA that is not in the upstream tree and should be dropped.

-- 
Sashiko AI review · https://sashiko.dev/#/patchset/20261125103825.936939-1-srinivas.kandagatla@oss.qualcomm.com?part=2

  reply	other threads:[~2026-11-25 11:01 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-11-25 10:38 [PATCH 0/4] soundwire: qcom: fixes and multi-master follow-ups Srinivas Kandagatla
2026-11-25 10:38 ` [PATCH 1/4] soundwire: qcom: always set master port_params.num Srinivas Kandagatla
2026-11-25 10:53   ` Marek Szyprowski
2026-11-25 10:38 ` [PATCH 2/4] soundwire: qcom: skip offset2 write when unset Srinivas Kandagatla
2026-11-25 11:01   ` sashiko-bot [this message]
2026-11-25 10:38 ` [PATCH 3/4] soundwire: qcom: fan out broadcasts on multi-master primary Srinivas Kandagatla
2026-11-25 10:38 ` [PATCH 4/4] soundwire: qcom: program SSP period " Srinivas Kandagatla
2026-11-25 10:55   ` sashiko-bot

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=sashiko-outbox-233186@kernel.org \
    --to=sashiko-bot@kernel.org \
    --cc=linux-sound@vger.kernel.org \
    --cc=sashiko-reviews@lists.linux.dev \
    --cc=srinivas.kandagatla@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 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.