Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit c2f8289b authored by YUE CHEN's avatar YUE CHEN Committed by Gerrit - the friendly Code Review server
Browse files

msm: ais: set return value as 0 for irq request



In case of there is no gpio pass to kernel,initialize
return value to 0, or it will cause probe faled.

Change-Id: Ia2ffce0a732c569f491b365fe04747f2b6692264
Signed-off-by: default avatarYUE CHEN <yueche@codeaurora.org>
parent 3eb9c77d
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -492,7 +492,7 @@ static int32_t cam_sensor_init_gpio_intr(
	struct ais_sensor_gpio_intr_config *gpio_intr_info,
	struct cam_sensor_ctrl_t *s_ctrl)
{
	int32_t rc = -1;
	int32_t rc = 0;
	int32_t gpio_num = 0;
	int32_t gpio_cfg0 = 0;
	int32_t idx = 0;