mirror of
https://github.com/hardkernel/linux.git
synced 2026-06-07 19:30:30 +09:00
media: i2c: imx317 fixed g_mbus_config error
Signed-off-by: Zefa Chen <zefa.chen@rock-chips.com> Change-Id: I5e66d8f19740bb5c309b037fc6e706fc8b215b15
This commit is contained in:
@@ -1191,8 +1191,9 @@ static int imx317_g_mbus_config(struct v4l2_subdev *sd,
|
||||
struct v4l2_mbus_config *config)
|
||||
{
|
||||
u32 val = 0;
|
||||
struct imx317 *imx317 = to_imx317(sd);
|
||||
|
||||
val = 1 << (IMX317_LANES - 1) |
|
||||
val = 1 << (imx317->lane_num - 1) |
|
||||
V4L2_MBUS_CSI2_CHANNEL_0 |
|
||||
V4L2_MBUS_CSI2_CONTINUOUS_CLOCK;
|
||||
config->type = V4L2_MBUS_CSI2;
|
||||
|
||||
Reference in New Issue
Block a user