|
@@ -462,8 +462,8 @@ int cam_res_mgr_gpio_request(struct device *dev, uint gpio,
|
|
|
CAM_DBG(CAM_RES, "gpio: %u not found in gpio_res list", gpio);
|
|
|
rc = gpio_request_one(gpio, flags, label);
|
|
|
if (rc) {
|
|
|
- CAM_ERR(CAM_RES, "gpio %d:%s request fails",
|
|
|
- gpio, label);
|
|
|
+ CAM_ERR(CAM_RES, "gpio %d:%s request fails rc = %d",
|
|
|
+ gpio, label, rc);
|
|
|
goto end;
|
|
|
}
|
|
|
}
|