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

Commit 48223c88 authored by Erik Andrén's avatar Erik Andrén Committed by Mauro Carvalho Chehab
Browse files

V4L/DVB (10029): m5602: remove uneeded test on po1030



The po1030 never sends long i2c messages, no need to test for that in
the init phase.

Signed-off-by: default avatarErik Andrén <erik.andren@gmail.com>
Signed-off-by: default avatarMauro Carvalho Chehab <mchehab@redhat.com>
parent 83fdea27
Loading
Loading
Loading
Loading
+0 −6
Original line number Diff line number Diff line
@@ -87,12 +87,6 @@ int po1030_init(struct sd *sd)
				init_po1030[i][1], data, 1);
			break;

		case SENSOR_LONG:
			data[0] = init_po1030[i][2];
			data[1] = init_po1030[i][3];
			err = m5602_write_sensor(sd,
				init_po1030[i][1], data, 2);
			break;
		default:
			info("Invalid stream command, exiting init");
			return -EINVAL;