power: domain: ti-sci-power-domain: Add device ID info to get/set_device failure
authorNishanth Menon <nm@ti.com>
Thu, 1 Aug 2019 13:38:24 +0000 (19:08 +0530)
committerTom Rini <trini@konsulko.com>
Mon, 12 Aug 2019 17:33:38 +0000 (13:33 -0400)
commit71cd80af863945e81f468c22e5e1afb06eba75cd
tree777a228a30aa8ccd85e9f89ab3fcf50c9678b7dd
parent60df809f626016d9992a7e894799a675c61d4d4b
power: domain: ti-sci-power-domain: Add device ID info to get/set_device failure

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