projects
/
oweals
/
u-boot.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
60df809
)
power: domain: ti-sci-power-domain: Add device ID info to get/set_device failure
author
Nishanth Menon
<nm@ti.com>
Thu, 1 Aug 2019 13:38:24 +0000
(19:08 +0530)
committer
Tom Rini
<trini@konsulko.com>
Mon, 12 Aug 2019 17:33:38 +0000
(13:33 -0400)
Failure log for ti_sci_power_domain_on/off is as below:
"ti_sci_power_domain_on: get/set_device failed (-19)"
The above information is useless for debug without information
on what specific device access failed. So add that information as well.
Signed-off-by: Nishanth Menon <nm@ti.com>
Signed-off-by: Lokesh Vutla <lokeshvutla@ti.com>
drivers/power/domain/ti-sci-power-domain.c
patch
|
blob
|
history
diff --git
a/drivers/power/domain/ti-sci-power-domain.c
b/drivers/power/domain/ti-sci-power-domain.c
index b9cd37b6129229197c35f48b4f0e642b74d2278b..4c4351d2d9982909c62963f483b556acf823d424 100644
(file)
--- a/
drivers/power/domain/ti-sci-power-domain.c
+++ b/
drivers/power/domain/ti-sci-power-domain.c
@@
-68,8
+68,8
@@
static int ti_sci_power_domain_on(struct power_domain *pd)
ret = dops->get_device(sci, pd->id);
if (ret)
- dev_err(p
ower_domain->dev, "%s: get_device
failed (%d)\n",
- __func__, ret);
+ dev_err(p
d->dev, "%s: get_device(%lu)
failed (%d)\n",
+ __func__,
pd->id,
ret);
return ret;
}
@@
-85,8
+85,8
@@
static int ti_sci_power_domain_off(struct power_domain *pd)
ret = dops->put_device(sci, pd->id);
if (ret)
- dev_err(p
ower_domain->dev, "%s: put_device
failed (%d)\n",
- __func__, ret);
+ dev_err(p
d->dev, "%s: put_device(%lu)
failed (%d)\n",
+ __func__,
pd->id,
ret);
return ret;
}