diff options
author | Markus Mayer <mmayer@broadcom.com> | 2019-04-02 16:00:59 -0700 |
---|---|---|
committer | Florian Fainelli <f.fainelli@gmail.com> | 2019-05-20 09:32:35 -0700 |
commit | 6ca5d2ba9e49113ed812b16e04e9e0a31f008e6f (patch) | |
tree | b963d3413fd2cbf46ad9a574c1c711b469f86cf3 /drivers/memory | |
parent | 1ffc0b580ba7b8ba6ba8081b86f4b53d3f2ddddb (diff) | |
download | lwn-6ca5d2ba9e49113ed812b16e04e9e0a31f008e6f.tar.gz lwn-6ca5d2ba9e49113ed812b16e04e9e0a31f008e6f.zip |
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')
-rw-r--r-- | drivers/memory/brcmstb_dpfe.c | 4 |
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) |