From: kernel test robot <lkp@intel.com>
To: Srinivas Kandagatla <srinivas.kandagatla@oss.qualcomm.com>,
Mark Brown <broonie@kernel.org>,
Liam Girdwood <lgirdwood@gmail.com>,
Jaroslav Kysela <perex@perex.cz>, Takashi Iwai <tiwai@suse.com>,
Rob Herring <robh@kernel.org>,
Krzysztof Kozlowski <krzk@kernel.org>,
Conor Dooley <conor+dt@kernel.org>,
Bjorn Andersson <andersson@kernel.org>,
Konrad Dybcio <konradybcio@kernel.org>
Cc: oe-kbuild-all@lists.linux.dev,
Srinivas Kandagatla <srini@kernel.org>,
Abel Vesa <abelvesa@kernel.org>, Jonathan Corbet <corbet@lwn.net>,
Shuah Khan <skhan@linuxfoundation.org>,
Randy Dunlap <rdunlap@infradead.org>,
linux-sound@vger.kernel.org, linux-arm-msm@vger.kernel.org,
devicetree@vger.kernel.org, linux-doc@vger.kernel.org,
linux-kernel@vger.kernel.org
Subject: Re: [PATCH v2 08/24] ASoC: codecs: wsa884x: register the die temperature as a thermal zone
Date: Tue, 24 Nov 2026 08:25:06 +0800 [thread overview]
Message-ID: <20261124081056.uJlgRhV6-lkp@intel.com> (raw)
In-Reply-To: <20261122161437.5994-9-srinivas.kandagatla@oss.qualcomm.com>
Hi Srinivas,
kernel test robot noticed the following build warnings:
[auto build test WARNING on next-20261120]
[cannot apply to broonie-sound/for-next tiwai-sound/for-next tiwai-sound/for-linus robh/for-next v7.4-rc3 v7.4-rc2 v7.4-rc1 linus/master v7.4-rc4]
[If your patch is applied to the wrong git tree, kindly drop us a note.
And when submitting patch, we suggest to use '--base' as documented in
https://git-scm.com/docs/git-format-patch#_base_tree_information]
url: https://github.com/intel-lab-lkp/linux/commits/Srinivas-Kandagatla/ASoC-soc-pcm-add-multi_direction_codecs-link-flag/20261122-161415
base: next-20261120
patch link: https://lore.kernel.org/r/20261122161437.5994-9-srinivas.kandagatla%40oss.qualcomm.com
patch subject: [PATCH v2 08/24] ASoC: codecs: wsa884x: register the die temperature as a thermal zone
config: i386-buildonly-randconfig-1001-20261124 (https://download.01.org/0day-ci/archive/20261124/20261124081056.uJlgRhV6-lkp@intel.com/config)
compiler: gcc-14 (Debian 14.2.0-19) 14.2.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20261124/20261124081056.uJlgRhV6-lkp@intel.com/reproduce)
If you fix the issue in a separate patch/commit (i.e. not just a new version of
the same patch/commit), kindly add following tags
| Reported-by: kernel test robot <lkp@intel.com>
| Closes: https://lore.kernel.org/oe-kbuild-all/20261124081056.uJlgRhV6-lkp@intel.com/
All warnings (new ones prefixed by >>):
sound/soc/codecs/wsa884x.c: In function 'wsa884x_probe':
>> sound/soc/codecs/wsa884x.c:2248:60: warning: passing argument 3 of 'thermal_tripless_zone_device_register' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
2248 | &wsa884x_tz_ops,
| ^~~~~~~~~~~~~~~
In file included from sound/soc/codecs/wsa884x.c:26:
include/linux/thermal.h:333:73: note: expected 'struct thermal_zone_device_ops *' but argument is of type 'const struct thermal_zone_device_ops *'
333 | struct thermal_zone_device_ops *ops,
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~
vim +2248 sound/soc/codecs/wsa884x.c
2143
2144 static int wsa884x_probe(struct sdw_slave *pdev,
2145 const struct sdw_device_id *id)
2146 {
2147 struct device *dev = &pdev->dev;
2148 struct wsa884x_priv *wsa884x;
2149 unsigned int i;
2150 int ret;
2151
2152 wsa884x = devm_kzalloc_obj(dev, *wsa884x);
2153 if (!wsa884x)
2154 return -ENOMEM;
2155
2156 mutex_init(&wsa884x->sp_lock);
2157
2158 for (i = 0; i < WSA884X_SUPPLIES_NUM; i++)
2159 wsa884x->supplies[i].supply = wsa884x_supply_name[i];
2160
2161 ret = devm_regulator_bulk_get(dev, WSA884X_SUPPLIES_NUM,
2162 wsa884x->supplies);
2163 if (ret)
2164 return dev_err_probe(dev, ret, "Failed to get regulators\n");
2165
2166 ret = regulator_bulk_enable(WSA884X_SUPPLIES_NUM, wsa884x->supplies);
2167 if (ret)
2168 return dev_err_probe(dev, ret, "Failed to enable regulators\n");
2169
2170 ret = devm_add_action_or_reset(dev, wsa884x_regulator_disable,
2171 wsa884x->supplies);
2172 if (ret)
2173 return ret;
2174
2175 ret = wsa884x_get_reset(dev, wsa884x);
2176 if (ret)
2177 return ret;
2178
2179 dev_set_drvdata(dev, wsa884x);
2180 wsa884x->slave = pdev;
2181 wsa884x->dev = dev;
2182 wsa884x->dev_mode = WSA884X_SPEAKER;
2183 wsa884x->sconfig.ch_count = 1;
2184 wsa884x->sconfig.bps = 1;
2185 wsa884x->sconfig.direction = SDW_DATA_DIR_RX;
2186 wsa884x->sconfig.type = SDW_STREAM_PDM;
2187
2188 /*
2189 * Port map index starts with 0, however the data port for this codec
2190 * are from index 1
2191 */
2192 if (of_property_read_u32_array(dev->of_node, "qcom,port-mapping", &pdev->m_port_map[1],
2193 WSA884X_MAX_SWR_PORTS))
2194 dev_dbg(dev, "Static Port mapping not specified\n");
2195
2196 pdev->prop.sink_ports = GENMASK(WSA884X_MAX_SWR_PORTS - 1, 0) & ~BIT(WSA884X_PORT_VISENSE);
2197 pdev->prop.source_ports = BIT(WSA884X_PORT_VISENSE);
2198 pdev->prop.simple_clk_stop_capable = true;
2199 pdev->prop.sink_dpn_prop = wsa884x_sink_dpn_prop;
2200 pdev->prop.src_dpn_prop = wsa884x_src_dpn_prop;
2201 pdev->prop.scp_int1_mask = SDW_SCP_INT1_BUS_CLASH | SDW_SCP_INT1_PARITY;
2202
2203 wsa884x_reset_deassert(wsa884x);
2204 ret = devm_add_action_or_reset(dev, wsa884x_reset_powerdown, wsa884x);
2205 if (ret)
2206 return ret;
2207
2208 wsa884x->regmap = devm_regmap_init_sdw(pdev, &wsa884x_regmap_config);
2209 if (IS_ERR(wsa884x->regmap))
2210 return dev_err_probe(dev, PTR_ERR(wsa884x->regmap),
2211 "regmap_init failed\n");
2212
2213 /* Start in cache-only until device is enumerated */
2214 regcache_cache_only(wsa884x->regmap, true);
2215
2216 if (IS_REACHABLE(CONFIG_HWMON)) {
2217 struct device *hwmon;
2218
2219 hwmon = devm_hwmon_device_register_with_info(dev, "wsa884x",
2220 wsa884x,
2221 &wsa884x_hwmon_chip_info,
2222 NULL);
2223 if (IS_ERR(hwmon))
2224 return dev_err_probe(dev, PTR_ERR(hwmon),
2225 "Failed to register hwmon sensor\n");
2226 }
2227
2228 pm_runtime_set_autosuspend_delay(dev, 3000);
2229 pm_runtime_use_autosuspend(dev);
2230 pm_runtime_mark_last_busy(dev);
2231 pm_runtime_set_active(dev);
2232 ret = devm_pm_runtime_enable(dev);
2233 if (ret)
2234 return ret;
2235
2236 if (IS_REACHABLE(CONFIG_THERMAL)) {
2237 char tz_name[THERMAL_NAME_LENGTH];
2238 struct thermal_zone_device *tz;
2239
2240 /*
2241 * Register after runtime PM is enabled, as the zone is read
2242 * right away. dev_name() is too long for a zone name.
2243 */
2244 scnprintf(tz_name, sizeof(tz_name), "wsa-%d-%u",
2245 pdev->bus->id, pdev->id.unique_id);
2246 tz = thermal_tripless_zone_device_register(tz_name,
2247 wsa884x,
> 2248 &wsa884x_tz_ops,
2249 NULL);
2250 if (IS_ERR(tz)) {
2251 dev_warn(dev,
2252 "thermal zone '%s' registration failed (%ld); SP T0 kcontrol will read 0 for this codec\n",
2253 tz_name, PTR_ERR(tz));
2254 } else {
2255 ret = devm_add_action_or_reset(dev,
2256 wsa884x_tz_unregister,
2257 tz);
2258 if (ret)
2259 return ret;
2260
2261 thermal_zone_device_enable(tz);
2262 }
2263 }
2264
2265 return devm_snd_soc_register_component(dev,
2266 &wsa884x_component_drv,
2267 wsa884x_dais,
2268 ARRAY_SIZE(wsa884x_dais));
2269 }
2270
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
next prev parent reply other threads:[~2026-11-24 0:25 UTC|newest]
Thread overview: 78+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-10-23 17:14 [RFC PATCH 00/23] ASoC: qcom: AudioReach Active speaker protection for WSA884x Srinivas Kandagatla
2026-10-23 17:14 ` [RFC PATCH 01/23] ASoC: soc-core: allow default ch_maps on links with more than 8 DAIs Srinivas Kandagatla
2026-11-15 17:36 ` Mark Brown
2026-11-15 21:04 ` Srinivas Kandagatla
2026-10-23 17:14 ` [RFC PATCH 02/23] ASoC: soc-pcm: add multi_direction_codecs link flag Srinivas Kandagatla
2026-11-15 17:36 ` Mark Brown
2026-11-15 21:04 ` Srinivas Kandagatla
2026-10-23 17:14 ` [RFC PATCH 03/23] ASoC: qcom: sdw: add per-direction stream runtimes for multi_direction links Srinivas Kandagatla
2026-11-15 17:36 ` Mark Brown
2026-11-15 21:04 ` Srinivas Kandagatla
2026-10-23 17:14 ` [RFC PATCH 04/23] ASoC: dt-bindings: qcom,wsa8840: allow one sound DAI cell Srinivas Kandagatla
2026-10-23 17:14 ` [RFC PATCH 05/23] ASoC: codecs: wsa884x: add VI sense capture DAI Srinivas Kandagatla
2026-11-15 17:36 ` Mark Brown
2026-11-15 21:03 ` Srinivas Kandagatla
2026-10-23 17:14 ` [RFC PATCH 06/23] ASoC: codecs: wsa884x: register the die temperature as a thermal zone Srinivas Kandagatla
2026-10-23 17:14 ` [RFC PATCH 07/23] ASoC: qcom: audioreach: add control link support to graphs Srinivas Kandagatla
2026-10-23 17:14 ` [RFC PATCH 08/23] ASoC: qcom: audioreach: run VI module in calibration mode with per-speaker events Srinivas Kandagatla
2026-11-15 17:36 ` Mark Brown
2026-11-15 21:04 ` Srinivas Kandagatla
2026-10-23 17:14 ` [RFC PATCH 09/23] ASoC: qcom: q6apm-dai: add S32_LE format support Srinivas Kandagatla
2026-10-23 17:14 ` [RFC PATCH 10/23] ASoC: qcom: audioreach: support up to four speakers in VI feedback Srinivas Kandagatla
2026-10-23 17:14 ` [RFC PATCH 11/23] ASoC: qcom: audioreach: cache VI calibration results per speaker Srinivas Kandagatla
2026-10-23 17:14 ` [RFC PATCH 12/23] ASoC: qcom: audioreach: make the speaker protection operation mode configurable Srinivas Kandagatla
2026-10-23 17:14 ` [RFC PATCH 13/23] ASoC: qcom: audioreach: send cached R0/T0 to the VI module in normal mode Srinivas Kandagatla
2026-10-23 17:14 ` [RFC PATCH 14/23] ASoC: qcom: audioreach: send static cfg blobs to speaker protection modules Srinivas Kandagatla
2026-10-23 17:14 ` [RFC PATCH 15/23] ASoC: qcom: audioreach: add speaker protection mixer controls Srinivas Kandagatla
2026-10-23 17:14 ` [RFC PATCH 16/23] ASoC: qcom: audioreach: pin SPEAKER_PROTECTION_VI media format Srinivas Kandagatla
2026-10-23 17:14 ` [RFC PATCH 17/23] ASoC: qcom: audioreach: add live speaker temperature (T0) readback Srinivas Kandagatla
2026-10-23 17:14 ` [RFC PATCH 18/23] ASoC: qcom: audioreach: add speaker protection calibration state control Srinivas Kandagatla
2026-10-23 17:14 ` [RFC PATCH 19/23] ASoC: qcom: audioreach: keep the last VI calibration result until the DSP reports Srinivas Kandagatla
2026-10-23 17:14 ` [RFC PATCH 20/23] ASoC: qcom: x1e80100: carry WSA VI feedback on the WSA Playback BE link Srinivas Kandagatla
2026-11-15 17:36 ` Mark Brown
2026-11-15 21:03 ` Srinivas Kandagatla
2026-10-23 17:14 ` [RFC PATCH 21/23] ASoC: qcom: x1e80100: register WSA speaker thermal zones for speaker protection Srinivas Kandagatla
2026-10-23 17:14 ` [RFC PATCH 22/23] arm64: dts: qcom: glymur-crd: add WSA speaker protection VI feedback Srinivas Kandagatla
2026-10-28 13:38 ` Konrad Dybcio
2026-10-28 21:59 ` Srinivas Kandagatla
2026-10-29 8:17 ` Konrad Dybcio
2026-10-23 17:14 ` [RFC PATCH 23/23] arm64: dts: qcom: mahua-t14s: " Srinivas Kandagatla
2026-10-28 12:39 ` [RFC PATCH 00/23] ASoC: qcom: AudioReach Active speaker protection for WSA884x Mark Brown
2026-10-28 16:31 ` Fabian Renn-Giles
2026-10-28 21:56 ` Srinivas Kandagatla
2026-11-15 22:07 ` Srinivas Kandagatla
2026-11-22 16:14 ` [PATCH v2 00/24] ASoC: qcom: AudioReach Active speaker protection for WSA88xx Srinivas Kandagatla
2026-11-22 16:14 ` [PATCH v2 01/24] ASoC: soc-core: always allocate default ch_maps Srinivas Kandagatla
2026-11-22 16:14 ` [PATCH v2 02/24] ASoC: soc-pcm: add multi_direction_codecs link flag Srinivas Kandagatla
2026-11-23 9:39 ` Pierre-Louis Bossart
2026-11-23 11:00 ` Srinivas Kandagatla
2026-11-23 13:58 ` Pierre-Louis Bossart
2026-11-23 21:38 ` Srinivas Kandagatla
2026-11-22 16:14 ` [PATCH v2 03/24] ASoC: soc-dai: export snd_soc_dai_stream_valid Srinivas Kandagatla
2026-11-22 16:14 ` [PATCH v2 04/24] ASoC: qcom: sdw: add per-direction stream runtimes for multi_direction links Srinivas Kandagatla
2026-11-22 16:14 ` [PATCH v2 05/24] ASoC: dt-bindings: qcom,wsa8840: allow one sound DAI cell Srinivas Kandagatla
2026-11-22 16:14 ` [PATCH v2 06/24] ASoC: codecs: wsa884x: add VI sense capture DAI Srinivas Kandagatla
2026-11-22 16:14 ` [PATCH v2 07/24] ASoC: codecs: wsa883x: " Srinivas Kandagatla
2026-11-22 16:14 ` [PATCH v2 08/24] ASoC: codecs: wsa884x: register the die temperature as a thermal zone Srinivas Kandagatla
2026-11-23 23:28 ` kernel test robot
2026-11-24 0:25 ` kernel test robot [this message]
2026-11-22 16:14 ` [PATCH v2 09/24] ASoC: qcom: audioreach: add control link support to graphs Srinivas Kandagatla
2026-11-22 16:14 ` [PATCH v2 10/24] ASoC: qcom: audioreach: run VI module in calibration mode with per-speaker events Srinivas Kandagatla
2026-11-22 16:14 ` [PATCH v2 11/24] ASoC: qcom: q6apm-dai: add S32_LE format support Srinivas Kandagatla
2026-11-22 16:14 ` [PATCH v2 12/24] ASoC: qcom: audioreach: cache VI calibration results per speaker Srinivas Kandagatla
2026-11-22 16:14 ` [PATCH v2 13/24] ASoC: qcom: audioreach: add speaker protection calibration trigger infrastructure Srinivas Kandagatla
2026-11-22 16:14 ` [PATCH v2 14/24] ASoC: qcom: audioreach: send cached R0/T0 to the VI module in normal mode Srinivas Kandagatla
2026-11-22 16:14 ` [PATCH v2 15/24] ASoC: qcom: audioreach: send static cfg blobs to speaker protection modules Srinivas Kandagatla
2026-11-22 16:14 ` [PATCH v2 16/24] ASoC: qcom: audioreach: add speaker protection mixer controls Srinivas Kandagatla
2026-11-22 16:14 ` [PATCH v2 17/24] ASoC: qcom: audioreach: pin SPEAKER_PROTECTION_VI media format Srinivas Kandagatla
2026-11-22 16:14 ` [PATCH v2 18/24] ASoC: qcom: audioreach: add live speaker temperature (T0) readback Srinivas Kandagatla
2026-11-23 11:57 ` kernel test robot
2026-11-22 16:14 ` [PATCH v2 19/24] ASoC: qcom: audioreach: add speaker protection calibration state control Srinivas Kandagatla
2026-11-22 16:14 ` [PATCH v2 20/24] ASoC: qcom: x1e80100: carry WSA VI feedback on the WSA Playback BE link Srinivas Kandagatla
2026-11-22 16:14 ` [PATCH v2 21/24] ASoC: qcom: x1e80100: register WSA speaker thermal zones for speaker protection Srinivas Kandagatla
2026-11-22 16:14 ` [PATCH v2 22/24] arm64: dts: qcom: glymur-crd: add WSA speaker protection VI feedback Srinivas Kandagatla
2026-11-23 19:35 ` Abel Vesa
2026-11-22 16:14 ` [PATCH v2 23/24] arm64: dts: qcom: mahua-t14s: " Srinivas Kandagatla
2026-11-23 19:35 ` Abel Vesa
2026-11-22 16:14 ` [PATCH v2 24/24] arm64: dts: qcom: x1e78100-t14s: " Srinivas Kandagatla
2026-11-23 19:36 ` Abel Vesa
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=20261124081056.uJlgRhV6-lkp@intel.com \
--to=lkp@intel.com \
--cc=abelvesa@kernel.org \
--cc=andersson@kernel.org \
--cc=broonie@kernel.org \
--cc=conor+dt@kernel.org \
--cc=corbet@lwn.net \
--cc=devicetree@vger.kernel.org \
--cc=konradybcio@kernel.org \
--cc=krzk@kernel.org \
--cc=lgirdwood@gmail.com \
--cc=linux-arm-msm@vger.kernel.org \
--cc=linux-doc@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-sound@vger.kernel.org \
--cc=oe-kbuild-all@lists.linux.dev \
--cc=perex@perex.cz \
--cc=rdunlap@infradead.org \
--cc=robh@kernel.org \
--cc=skhan@linuxfoundation.org \
--cc=srini@kernel.org \
--cc=srinivas.kandagatla@oss.qualcomm.com \
--cc=tiwai@suse.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