From: Detlev Casanova <detlev.casanova@collabora.com>
To: Mark Brown <broonie@kernel.org>
Cc: linux-kernel@vger.kernel.org,
Andrzej Hajda <andrzej.hajda@intel.com>,
Neil Armstrong <neil.armstrong@linaro.org>,
Robert Foss <rfoss@kernel.org>,
Laurent Pinchart <Laurent.pinchart@ideasonboard.com>,
Jonas Karlman <jonas@kwiboo.se>,
Jernej Skrabec <jernej.skrabec@gmail.com>,
Maarten Lankhorst <maarten.lankhorst@linux.intel.com>,
Maxime Ripard <mripard@kernel.org>,
Thomas Zimmermann <tzimmermann@suse.de>,
David Airlie <airlied@gmail.com>, Simona Vetter <simona@ffwll.ch>,
Liam Girdwood <lgirdwood@gmail.com>,
Jaroslav Kysela <perex@perex.cz>, Takashi Iwai <tiwai@suse.com>,
Dmitry Baryshkov <dmitry.baryshkov@oss.qualcomm.com>,
Douglas Anderson <dianders@chromium.org>,
Heiko Stuebner <heiko@sntech.de>,
Sugar Zhang <sugar.zhang@rock-chips.com>,
Cristian Ciocaltea <cristian.ciocaltea@collabora.com>,
Charles Keepax <ckeepax@opensource.cirrus.com>,
Raag Jadav <raag.jadav@intel.com>,
dri-devel@lists.freedesktop.org, linux-sound@vger.kernel.org,
kernel@collabora.com
Subject: Re: [PATCH v2 2/3] ASoC: hdac_hdmi: Use dev_info on invalid ELD version
Date: Wed, 23 Jul 2025 11:29:07 -0400 [thread overview]
Message-ID: <1927750.tdWV9SEqCh@earth> (raw)
In-Reply-To: <b209b185-8caa-41d4-8f8d-95aefec1d785@sirena.org.uk>
Hi Mark,
On Wednesday, 23 July 2025 06:40:13 EDT Mark Brown wrote:
> On Tue, Jul 22, 2025 at 03:54:36PM -0400, Detlev Casanova wrote:
> > When disconnected, the ELD data cannot be read by the display driver, so
> > it just sets the data to 0.
>
> Please don't put patches for different subsystems into the same series
> if there's no dependencies, it just makes dependencies less obvious and
> creates hassle merging things.
Yes, sorry, I'll send v3 of this patch separately.
> > That makes the ELD parsing code read an ELD version of 0, which is
> > invalid. In hdac_hdmi, that is logged with dev_err(), but should be
> > logged with dev_info() instead as it is done in sound/core/pcm_drm_eld.c
> >
> > This avoids printing multiple messages like:
> > HDMI: Unknown ELD version 0
> >
> > in the kernel log when userspace tries to open the sound device.
>
> It doesn't, it just lowers the severity of the logs that are printed.
> If the goal is to lower the number of messages printed you need to use
> a ratelimited print.
I see, ratelimited would be good, but it still prints a message about
something that is normal behaviour. Maybe this should go further to a
dev_dbg(), or is there a specific reason to show this message ?
This could also be a special case:
- version == 0 -> dev_dbg()
- version !=0 && != known_versions -> dev_err()
Detlev.
next prev parent reply other threads:[~2025-07-23 15:29 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-07-22 19:54 [PATCH v2 0/3] Clean some logs on rockchip hdmi audio Detlev Casanova
2025-07-22 19:54 ` [PATCH v2 1/3] drm/bridge: dw-hdmi-qp: Return 0 in audio prepare when disconnected Detlev Casanova
2025-07-23 11:41 ` Dmitry Baryshkov
2025-07-23 15:22 ` Detlev Casanova
2025-07-22 19:54 ` [PATCH v2 2/3] ASoC: hdac_hdmi: Use dev_info on invalid ELD version Detlev Casanova
2025-07-23 10:40 ` Mark Brown
2025-07-23 15:29 ` Detlev Casanova [this message]
2025-07-22 19:54 ` [PATCH v2 3/3] drm/bridge: synopsys: Do not warn about audio params computation Detlev Casanova
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=1927750.tdWV9SEqCh@earth \
--to=detlev.casanova@collabora.com \
--cc=Laurent.pinchart@ideasonboard.com \
--cc=airlied@gmail.com \
--cc=andrzej.hajda@intel.com \
--cc=broonie@kernel.org \
--cc=ckeepax@opensource.cirrus.com \
--cc=cristian.ciocaltea@collabora.com \
--cc=dianders@chromium.org \
--cc=dmitry.baryshkov@oss.qualcomm.com \
--cc=dri-devel@lists.freedesktop.org \
--cc=heiko@sntech.de \
--cc=jernej.skrabec@gmail.com \
--cc=jonas@kwiboo.se \
--cc=kernel@collabora.com \
--cc=lgirdwood@gmail.com \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-sound@vger.kernel.org \
--cc=maarten.lankhorst@linux.intel.com \
--cc=mripard@kernel.org \
--cc=neil.armstrong@linaro.org \
--cc=perex@perex.cz \
--cc=raag.jadav@intel.com \
--cc=rfoss@kernel.org \
--cc=simona@ffwll.ch \
--cc=sugar.zhang@rock-chips.com \
--cc=tiwai@suse.com \
--cc=tzimmermann@suse.de \
/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.