MLK-23635: fw: imx: seco_mu: Fix messages at boot
At boot, the driver can print error messages because it has been deferred so they should not be printed. The driver also prints the version of the SECO which is not useful. This patch fixes the print of messages due to defer and remove the print of the SECO version. Signed-off-by: Franck LENORMAND <franck.lenormand@nxp.com> Reviewed-by: Horia Geantă <horia.geanta@nxp.com>5.4-rM2-2.2.x-imx-squashed
parent
ebde654b30
commit
87bcafe692
|
@ -926,8 +926,6 @@ static int seco_mu_check_all_mu_supported(struct device *dev)
|
|||
goto exit;
|
||||
}
|
||||
|
||||
dev_info(dev, "build info: %.8x", seco_ver);
|
||||
|
||||
if (((seco_ver & SECO_FW_VER_FEAT_MASK) >> SECO_FW_VER_FEAT_SHIFT)
|
||||
< SECO_FW_VER_FEAT_MIN_ALL_MU) {
|
||||
dev_err(dev, "current SECO FW do not support MU with Linux\n");
|
||||
|
@ -1075,13 +1073,17 @@ static int seco_mu_probe(struct platform_device *pdev)
|
|||
|
||||
ret = seco_mu_request_channel(dev, &priv->tx_chan, "txdb");
|
||||
if (ret) {
|
||||
dev_err(dev, "Failed to request txdb channel\n");
|
||||
if (ret != -EPROBE_DEFER)
|
||||
dev_err(dev, "Failed to request txdb channel\n");
|
||||
|
||||
goto exit;
|
||||
}
|
||||
|
||||
ret = seco_mu_request_channel(dev, &priv->rx_chan, "rxdb");
|
||||
if (ret) {
|
||||
dev_err(dev, "Failed to request rxdb channel\n");
|
||||
if (ret != -EPROBE_DEFER)
|
||||
dev_err(dev, "Failed to request rxdb channel\n");
|
||||
|
||||
goto exit;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue