mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-09 21:59:12 -04:00
Merge "Camera: sensor: Power off the sensor if no gpios" into camera-kernel.lnx.1.0
This commit is contained in:
commit
0d7133d630
1 changed files with 1 additions and 1 deletions
|
|
@ -1658,7 +1658,7 @@ int cam_sensor_core_power_up(struct cam_sensor_power_ctrl_t *ctrl,
|
|||
case SENSOR_CUSTOM_GPIO2:
|
||||
if (no_gpio) {
|
||||
CAM_ERR(CAM_SENSOR, "request gpio failed");
|
||||
return no_gpio;
|
||||
goto power_up_failed;
|
||||
}
|
||||
if (!gpio_num_info) {
|
||||
CAM_ERR(CAM_SENSOR, "Invalid gpio_num_info");
|
||||
|
|
|
|||
Loading…
Reference in a new issue