projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6cb0965
)
drm/omap: fix return value check in dsi_bind()
author
Wei Yongjun
<
[email protected]
>
Sat, 17 Sep 2016 15:53:54 +0000
(15:53 +0000)
committer
Tomi Valkeinen
<
[email protected]
>
Wed, 2 Nov 2016 08:38:28 +0000
(10:38 +0200)
Fix the retrn value check which testing the wrong variable
in dsi_bind().
Signed-off-by: Wei Yongjun <
[email protected]
>
Reviewed-by: Peter Ujfalusi <
[email protected]
>
Signed-off-by: Tomi Valkeinen <
[email protected]
>
drivers/gpu/drm/omapdrm/dss/dsi.c
patch
|
blob
|
history
diff --git
a/drivers/gpu/drm/omapdrm/dss/dsi.c
b/drivers/gpu/drm/omapdrm/dss/dsi.c
index e1be5e795cd807aadb0cff143ca526fb8612440b..a567ebd7ccb32d11a8fb1b5b52b297cfe28a8a9a 100644
(file)
--- a/
drivers/gpu/drm/omapdrm/dss/dsi.c
+++ b/
drivers/gpu/drm/omapdrm/dss/dsi.c
@@
-5342,7
+5342,7
@@
static int dsi_bind(struct device *dev, struct device *master, void *data)
dsi->phy_base = devm_ioremap(&dsidev->dev, res->start,
resource_size(res));
- if (!dsi->p
roto
_base) {
+ if (!dsi->p
hy
_base) {
DSSERR("can't ioremap DSI PHY\n");
return -ENOMEM;
}
@@
-5362,7
+5362,7
@@
static int dsi_bind(struct device *dev, struct device *master, void *data)
dsi->pll_base = devm_ioremap(&dsidev->dev, res->start,
resource_size(res));
- if (!dsi->p
roto
_base) {
+ if (!dsi->p
ll
_base) {
DSSERR("can't ioremap DSI PLL\n");
return -ENOMEM;
}