提交 3e31f2b9 编写于 作者: G Guennadi Liakhovetski 提交者: Mauro Carvalho Chehab

[media] imx074: return a meaningful error code instead of -1

Signed-off-by: NGuennadi Liakhovetski <g.liakhovetski@gmx.de>
Signed-off-by: NMauro Carvalho Chehab <mchehab@redhat.com>
上级 24105ebc
...@@ -298,7 +298,7 @@ static unsigned long imx074_query_bus_param(struct soc_camera_device *icd) ...@@ -298,7 +298,7 @@ static unsigned long imx074_query_bus_param(struct soc_camera_device *icd)
static int imx074_set_bus_param(struct soc_camera_device *icd, static int imx074_set_bus_param(struct soc_camera_device *icd,
unsigned long flags) unsigned long flags)
{ {
return -1; return -EINVAL;
} }
static struct soc_camera_ops imx074_ops = { static struct soc_camera_ops imx074_ops = {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册