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

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
......@@ -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;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment