Revert "sound: sunxi: demote non-fatal audio init logs"

This reverts commit 7f78332ee1f0e56876a53342cc7549e3d95328a6.
This commit is contained in:
Qubot 2026-06-06 11:14:49 +08:00
parent a4aa00cf54
commit 1e13f4c8c0
3 changed files with 5 additions and 5 deletions

View File

@ -439,7 +439,7 @@ static int sunxi_codec_dev_probe(struct platform_device *pdev)
goto err_devm_kzalloc;
}
SND_LOG_DEBUG("register codec-hdmi success\n");
SND_LOG_ERR("register codec-hdmi success\n");
return 0;
@ -462,7 +462,7 @@ static int sunxi_codec_dev_remove(struct platform_device *pdev)
devm_kfree(dev, codec);
of_node_put(pdev->dev.of_node);
SND_LOG_DEBUG("unregister codec-hdmi success\n");
SND_LOG_ERR("unregister codec-hdmi success\n");
return 0;
}

View File

@ -2235,7 +2235,7 @@ static void snd_sunxi_dts_params_init(struct platform_device *pdev, struct sunxi
ret = of_property_read_u32(np, "clk-en-post-delay", &tmp_val0);
if (ret < 0) {
SND_LOG_DEBUG("clk-en-post-delay missing, use default\n");
SND_LOG_WARN("clk-en-post-delay missing\n");
dts->clk_en_post_delay = 0;
} else {
dts->clk_en_post_delay = tmp_val0;
@ -2243,7 +2243,7 @@ static void snd_sunxi_dts_params_init(struct platform_device *pdev, struct sunxi
ret = of_property_read_u32(np, "clk-keep", &tmp_val0);
if (ret < 0) {
SND_LOG_DEBUG("clk-keep missing, use default\n");
SND_LOG_WARN("clk-keep missing\n");
dts->clk_keep = 0;
} else {
dts->clk_keep = tmp_val0;

View File

@ -369,7 +369,7 @@ int asoc_simple_parse_ucfmt(struct device_node *node, char *prefix,
snprintf(prop, sizeof(prop), "%sdata-late", prefix);
ret = of_property_read_u32(node, "data-late", &temp_val);
if (ret < 0 || temp_val > 3) {
SND_LOG_DEBUG("set data late to default\n");
SND_LOG_WARN("set data late to default\n");
if (dai_ucfmt->fmt == SND_SOC_DAIFMT_I2S)
dai_ucfmt->data_late = 1;
else if (dai_ucfmt->fmt == SND_SOC_DAIFMT_RIGHT_J