diff options
author | Mauro Carvalho Chehab <mchehab@infradead.org> | 2008-07-17 10:37:37 +0000 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@infradead.org> | 2008-07-17 10:37:37 +0000 |
commit | 48592db52742b5ad934b4f7c97e0dd6d90d8478b (patch) | |
tree | d262263a1c7395ee39984552c38e92ced8de897a /linux/drivers/media/video/tlv320aic23b.c | |
parent | fd6f88cc2d6fc72838895f49a7713c733ef2c510 (diff) | |
download | mediapointer-dvb-s2-48592db52742b5ad934b4f7c97e0dd6d90d8478b.tar.gz mediapointer-dvb-s2-48592db52742b5ad934b4f7c97e0dd6d90d8478b.tar.bz2 |
uvcvideo: Return sensible min and max values when querying a boolean control.
From: Laurent Pinchart <laurent.pinchart@skynet.be>
Although the V4L2 spec states that the minimum and maximum fields may not be
valid for control types other than V4L2_CTRL_TYPE_INTEGER, it makes sense
to set the bounds to 0 and 1 for boolean controls instead of returning
uninitialized values.
Signed-off-by: Laurent Pinchart <laurent.pinchart@skynet.be>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
Diffstat (limited to 'linux/drivers/media/video/tlv320aic23b.c')
0 files changed, 0 insertions, 0 deletions