mirror of
https://github.com/edk2-porting/linux-next.git
synced 2024-12-19 02:34:01 +08:00
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: Erik Andrén <erik.andren@gmail.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
This commit is contained in:
parent
83fdea270c
commit
48223c8829
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user