2
0
mirror of git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git synced 2025-09-04 20:19:47 +08:00
linux/sound/soc/meson
Martin Blumenstingl 171eb6f71e
ASoC: meson: meson-card-utils: use of_property_present() for DT parsing
Commit c141ecc3ce ("of: Warn when of_property_read_bool() is used on
non-boolean properties") added a warning when trying to parse a property
with a value (boolean properties are defined as: absent = false, present
without any value = true). This causes a warning from meson-card-utils.

meson-card-utils needs to know about the existence of the
"audio-routing" and/or "audio-widgets" properties in order to properly
parse them. Switch to of_property_present() in order to silence the
following warning messages during boot:
  OF: /sound: Read of boolean property 'audio-routing' with a value.
  OF: /sound: Read of boolean property 'audio-widgets' with a value.

Fixes: 7864a79f37 ("ASoC: meson: add axg sound card support")
Tested-by: Christian Hewitt <christianshewitt@gmail.com>
Cc: stable@vger.kernel.org
Signed-off-by: Martin Blumenstingl <martin.blumenstingl@googlemail.com>
Link: https://patch.msgid.link/20250419213448.59647-1-martin.blumenstingl@googlemail.com
Signed-off-by: Mark Brown <broonie@kernel.org>
2025-04-24 12:56:15 +01:00
..
aiu-acodec-ctrl.c ASoC: meson: merge DAI call back functions into ops 2023-08-14 13:10:20 +01:00
aiu-codec-ctrl.c ASoC: meson: merge DAI call back functions into ops 2023-08-14 13:10:20 +01:00
aiu-encoder-i2s.c ASoC: meson: Rename set_fmt_new back to set_fmt 2022-06-06 12:34:06 +01:00
aiu-encoder-spdif.c ASoC: meson: aiu: Fix spelling mistake "Unsupport" -> "Unsupported" 2021-09-27 13:01:07 +01:00
aiu-fifo-i2s.c ASoC: meson: Constify static snd_pcm_hardware 2024-05-07 00:00:22 +09:00
aiu-fifo-spdif.c ASoC: meson: Constify static snd_pcm_hardware 2024-05-07 00:00:22 +09:00
aiu-fifo.c ASoC: meson: Use snd_soc_substream_to_rtd() for accessing private_data 2024-05-06 23:59:55 +09:00
aiu-fifo.h ASoC: meson: Remove unused declartion in header file 2024-09-10 18:02:37 +01:00
aiu.c ASoC: Switch back to struct platform_driver::remove() 2024-09-09 18:26:49 +01:00
aiu.h ASoC: meson: aiu: fix function pointer type mismatch 2024-02-14 00:43:30 +00:00
axg-card.c ASoC: meson: switch to use rtd->id from rtd->num 2024-11-01 14:48:11 +00:00
axg-fifo.c ASoC: meson: axg-fifo: fix irq scheduling issue with PREEMPT_RT 2024-08-08 20:34:55 +01:00
axg-fifo.h ASoC: meson: axg-fifo: use FIELD helpers 2024-02-27 18:43:22 +00:00
axg-frddr.c ASoC: meson: tdm: add sample rate support up to 768kHz 2024-06-28 13:39:33 +01:00
axg-pdm.c ASoC: meson: merge DAI call back functions into ops 2023-08-14 13:10:20 +01:00
axg-spdifin.c ASoC: meson: axg-spdifin: use max width for rate detection 2024-02-26 14:03:16 +00:00
axg-spdifout.c ASoC: meson: Migrate to new style legacy DAI naming flag 2022-06-27 13:16:28 +01:00
axg-tdm-formatter.c ASoC: meson: axg-tdm: add continuous clock support 2024-04-29 23:48:50 +09:00
axg-tdm-formatter.h ASoC: meson: axg-tdm-formatters: fix sclk inversion 2020-07-30 19:45:01 +01:00
axg-tdm-interface.c ASoC: meson: axg-tdm-interface: use devm_kmemdup_array() 2025-02-28 14:01:01 +00:00
axg-tdm.h ASoC: meson: axg-iface: set continuous rates 2024-09-30 01:10:55 +02:00
axg-tdmin.c ASoC: meson: use helper function 2023-01-31 11:05:03 +00:00
axg-tdmout.c ASoC: meson: use helper function 2023-01-31 11:05:03 +00:00
axg-toddr.c ASoC: meson: tdm: add sample rate support up to 768kHz 2024-06-28 13:39:33 +01:00
g12a-toacodec.c ASoC: meson: g12a-toacodec: Fix event generation 2024-01-03 18:37:01 +00:00
g12a-tohdmitx.c ASoC: meson: g12a-tohdmitx: Fix event generation for S/PDIF mux 2024-01-03 18:37:02 +00:00
gx-card.c ASoC: meson: switch to use rtd->id from rtd->num 2024-11-01 14:48:11 +00:00
Kconfig ASoC: meson: cards: select SND_DYNAMIC_MINORS 2024-04-29 23:48:55 +09:00
Makefile ASoC: meson: Use *-y instead of *-objs in Makefile 2024-05-08 11:39:24 +09:00
meson-card-utils.c ASoC: meson: meson-card-utils: use of_property_present() for DT parsing 2025-04-24 12:56:15 +01:00
meson-card.h ASoC: meson: Make meson_card_remove() return void 2023-10-23 13:29:46 +01:00
meson-codec-glue.c ASoC: meson: convert not to use asoc_xxx() 2023-09-25 14:16:28 +02:00
meson-codec-glue.h ASoC: meson: g12a: extract codec-to-codec utils 2020-02-13 20:57:20 +00:00
t9015.c ASoC: meson: t9015: use inclusive language for SND_SOC_DAIFMT_CBx_CFx 2025-03-03 12:58:53 +00:00