summaryrefslogtreecommitdiff
path: root/drivers/memory/brcmstb_dpfe.c
diff options
context:
space:
mode:
authorMarkus Mayer <mmayer@broadcom.com>2019-04-03 02:00:59 +0300
committerFlorian Fainelli <f.fainelli@gmail.com>2019-05-20 19:32:35 +0300
commit6ca5d2ba9e49113ed812b16e04e9e0a31f008e6f (patch)
treeb963d3413fd2cbf46ad9a574c1c711b469f86cf3 /drivers/memory/brcmstb_dpfe.c
parent1ffc0b580ba7b8ba6ba8081b86f4b53d3f2ddddb (diff)
downloadlinux-6ca5d2ba9e49113ed812b16e04e9e0a31f008e6f.tar.xz
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>
Diffstat (limited to 'drivers/memory/brcmstb_dpfe.c')
-rw-r--r--drivers/memory/brcmstb_dpfe.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/drivers/memory/brcmstb_dpfe.c b/drivers/memory/brcmstb_dpfe.c
index f143e40e528b..c67774a4fe8b 100644
--- a/drivers/memory/brcmstb_dpfe.c
+++ b/drivers/memory/brcmstb_dpfe.c
@@ -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)