diff options
| author | Arnd Bergmann <[email protected]> | 2021-06-14 12:34:06 +0200 |
|---|---|---|
| committer | Mauro Carvalho Chehab <[email protected]> | 2021-06-17 10:17:01 +0200 |
| commit | 8162f78d27c61e148a4342c62bddef3c26135bcb (patch) | |
| tree | 11416ca173c8d583ad9742bdd4dde81d86ea79ca /tools/perf/scripts/python | |
| parent | 765ba251d2522e2a0daa2f0793fd0f0ce34816ec (diff) | |
media: v4l2-core: return -ENODEV from ioctl when not registered
I spotted a minor difference is handling of unregistered devices
between native and compat ioctls: the native handler never tries
to call into the driver if a device is not marked as registered.
I did not check whether this can cause issues in the kernel, or
just a different between return codes, but it clearly makes
sense that both should behave the same way.
Signed-off-by: Arnd Bergmann <[email protected]>
Reviewed-by: Laurent Pinchart <[email protected]>
Signed-off-by: Hans Verkuil <[email protected]>
Signed-off-by: Mauro Carvalho Chehab <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions