diff options
| author | Hans Verkuil <[email protected]> | 2020-01-15 17:32:54 +0000 |
|---|---|---|
| committer | Mauro Carvalho Chehab <[email protected]> | 2020-02-24 15:14:06 +0000 |
| commit | 25f98947ced09b3528f52c983960847a31a0b014 (patch) | |
| tree | 8500dba083ee9b0dc6015d278a8abb378bf91e30 /drivers/media/platform/vimc/vimc-streamer.c | |
| parent | media: usbtv: fix control-message timeouts (diff) | |
| download | kernel-25f98947ced09b3528f52c983960847a31a0b014.tar.gz kernel-25f98947ced09b3528f52c983960847a31a0b014.zip | |
media: vidioc-queryctrl.rst: fix error code
An attempt to get a BUTTON control returns EACCES, not EINVAL.
BUTTON controls have V4L2_CTRL_FLAG_WRITE_ONLY set, and the documentation
for that flag correctly says that getting a write-only control returns
EACCES. It's the description of the BUTTON type that's wrong, so fix
that so they are consistent.
Signed-off-by: Hans Verkuil <[email protected]>
Signed-off-by: Mauro Carvalho Chehab <[email protected]>
Diffstat (limited to 'drivers/media/platform/vimc/vimc-streamer.c')
0 files changed, 0 insertions, 0 deletions
