media: i2c: sensor_adapter fixes error of ioctl miss break

Fixes: 0bd81e611e ("media: i2c: sensor adapter add ioctl RKMODULE_SET_SENSOR_INFOS")
Signed-off-by: Zefa Chen <zefa.chen@rock-chips.com>
Change-Id: Iba17ca89821dece817b32019ee3e20c1859b6564
This commit is contained in:
Zefa Chen 2023-04-07 17:59:49 +08:00 committed by Tao Huang
parent 2cd49534fc
commit 44484c9fcf
1 changed files with 1 additions and 0 deletions

View File

@ -732,6 +732,7 @@ end_set_reg:
*dphy_param = sensor->dphy_param;
dev_dbg(&sensor->client->dev,
"sensor get dphy param\n");
break;
case RKMODULE_SET_SENSOR_INFOS:
sensor_infos = (struct rkmodule_sensor_infos *)arg;
ret = sensor_set_sensor_info(sensor_infos);