提交 4db120bc 编写于 作者: E Erik Andrén 提交者: Mauro Carvalho Chehab

V4L/DVB (11687): gspca - m5602-ov9650: Add missing v4l2 ctrl ids

Red and blue balance missed their id fields
Signed-off-by: NErik Andrén <erik.andren@gmail.com>
Signed-off-by: NMauro Carvalho Chehab <mchehab@redhat.com>
上级 65bd761e
...@@ -131,6 +131,7 @@ static const struct ctrl ov9650_ctrls[] = { ...@@ -131,6 +131,7 @@ static const struct ctrl ov9650_ctrls[] = {
#define RED_BALANCE_IDX 2 #define RED_BALANCE_IDX 2
{ {
{ {
.id = V4L2_CID_RED_BALANCE,
.type = V4L2_CTRL_TYPE_INTEGER, .type = V4L2_CTRL_TYPE_INTEGER,
.name = "red balance", .name = "red balance",
.minimum = 0x00, .minimum = 0x00,
...@@ -145,6 +146,7 @@ static const struct ctrl ov9650_ctrls[] = { ...@@ -145,6 +146,7 @@ static const struct ctrl ov9650_ctrls[] = {
#define BLUE_BALANCE_IDX 3 #define BLUE_BALANCE_IDX 3
{ {
{ {
.id = V4L2_CID_BLUE_BALANCE,
.type = V4L2_CTRL_TYPE_INTEGER, .type = V4L2_CTRL_TYPE_INTEGER,
.name = "blue balance", .name = "blue balance",
.minimum = 0x00, .minimum = 0x00,
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册