sound: sunxi: demote non-fatal audio init logs
This commit is contained in:
parent
a6c206fbc9
commit
7f78332ee1
@ -439,7 +439,7 @@ static int sunxi_codec_dev_probe(struct platform_device *pdev)
|
||||
goto err_devm_kzalloc;
|
||||
}
|
||||
|
||||
SND_LOG_ERR("register codec-hdmi success\n");
|
||||
SND_LOG_DEBUG("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_ERR("unregister codec-hdmi success\n");
|
||||
SND_LOG_DEBUG("unregister codec-hdmi success\n");
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
||||
@ -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_WARN("clk-en-post-delay missing\n");
|
||||
SND_LOG_DEBUG("clk-en-post-delay missing, use default\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_WARN("clk-keep missing\n");
|
||||
SND_LOG_DEBUG("clk-keep missing, use default\n");
|
||||
dts->clk_keep = 0;
|
||||
} else {
|
||||
dts->clk_keep = tmp_val0;
|
||||
|
||||
@ -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_WARN("set data late to default\n");
|
||||
SND_LOG_DEBUG("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
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user