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

Commit b94c765a authored by Chihau Chau's avatar Chihau Chau Committed by Greg Kroah-Hartman
Browse files

Staging: dream: camera: sk5k3e2fx: fix code style issues



This fixes some code style issues about assignments in if conditions.

Signed-off-by: default avatarChihau Chau <chihau@gmail.com>
Acked-by: default avatarPavel Machek <pavel@ucw.cz>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@suse.de>
parent df84f941
Loading
Loading
Loading
Loading
+4 −4
Original line number Diff line number Diff line
@@ -743,12 +743,12 @@ static int s5k3e2fx_sensor_open_init(const struct msm_camera_sensor_info *data)
	}

	/* initialize AF */
	if ((rc = s5k3e2fx_i2c_write_b(s5k3e2fx_client->addr,
			0x3146, 0x3A)) < 0)
	rc = s5k3e2fx_i2c_write_b(s5k3e2fx_client->addr, 0x3146, 0x3A);
	if (rc < 0)
		goto init_fail1;

	if ((rc = s5k3e2fx_i2c_write_b(s5k3e2fx_client->addr,
			0x3130, 0x03)) < 0)
	rc = s5k3e2fx_i2c_write_b(s5k3e2fx_client->addr, 0x3130, 0x03);
	if (rc < 0)
		goto init_fail1;

	goto init_done;