]> git.baikalelectronics.ru Git - kernel.git/commit
drm/vc4: hdmi: Limit noise when deferring snd card registration
authorNicolas Saenz Julienne <nsaenzju@redhat.com>
Tue, 29 Jun 2021 12:17:23 +0000 (14:17 +0200)
committerMaxime Ripard <maxime@cerno.tech>
Tue, 6 Jul 2021 09:15:21 +0000 (11:15 +0200)
commitaf39786a72d97fabf72b71220bc5692ad00f9cd6
tree0f4bf7f13295b67e4152b3344c939bc33e5e87a6
parent00635f97586ea2a8d091f0e974d095dd2b926df6
drm/vc4: hdmi: Limit noise when deferring snd card registration

We don't want to print an error message each time
devm_snd_soc_register_card() returns -EPROBE_DEFER, the function will
most likely succeed some time in the future, once the missing resources
are available. So use dev_err_probe(), which will redirect the messages
to the debug log level in such case.

Signed-off-by: Nicolas Saenz Julienne <nsaenzju@redhat.com>
Signed-off-by: Maxime Ripard <maxime@cerno.tech>
Link: https://patchwork.freedesktop.org/patch/msgid/20210629121723.11523-1-nsaenzju@redhat.com
drivers/gpu/drm/vc4/vc4_hdmi.c