提交 72e9622c 编写于 作者: G Guennadi Liakhovetski 提交者: Eric Miao

[ARM] pxa/pcm990: use negative number for an invalid GPIO in camera data

0 is a valid GPIO number, use a negative number to specify, that this camera
doesn't have a GPIO for bus-width switching.
Signed-off-by: NGuennadi Liakhovetski <lg@denx.de>
Signed-off-by: NEric Miao <eric.miao@marvell.com>
上级 844c6f6a
......@@ -385,6 +385,7 @@ static struct soc_camera_link iclink[] = {
.gpio = NR_BUILTIN_GPIO + 1,
}, {
.bus_id = 0, /* Must match with the camera ID above */
.gpio = -ENXIO,
}
};
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册