1
0
Fork 0

memory: brcmstb: dpfe: report firmware loading error

Print an error message if the DCPU firmware couldn't be downloaded.

Signed-off-by: Markus Mayer <mmayer@broadcom.com>
Signed-off-by: Florian Fainelli <f.fainelli@gmail.com>
alistair/sunxi64-5.4-dsi
Markus Mayer 2019-04-02 16:00:59 -07:00 committed by Florian Fainelli
parent 1ffc0b580b
commit 6ca5d2ba9e
1 changed files with 3 additions and 1 deletions

View File

@ -703,8 +703,10 @@ static int brcmstb_dpfe_probe(struct platform_device *pdev)
}
ret = brcmstb_dpfe_download_firmware(pdev, &init);
if (ret)
if (ret) {
dev_err(dev, "Couldn't download firmware -- %d\n", ret);
return ret;
}
ret = sysfs_create_groups(&pdev->dev.kobj, dpfe_groups);
if (!ret)