diff options
author | Alexey Khoroshilov <khoroshilov@ispras.ru> | 2013-06-19 16:57:40 -0300 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@redhat.com> | 2013-06-21 11:33:06 -0300 |
commit | 5e7db0389fd05ba8721df3978b76156917cb4256 (patch) | |
tree | 9b3f5858e47710e1dc445addd20e5b0da2c64008 /tools/perf/scripts/python/check-perf-trace.py | |
parent | f3d27f34fdd7701e499617d2c1d94480a98f6d07 (diff) |
[media] go7007: fix return 0 for unsupported devices in go7007_usb_probe()
probe() should not return 0 for unsupported devices, but go7007_usb_probe() does.
The patch fixes it to return -ENODEV.
Found by Linux Driver Verification project (linuxtesting.org).
Signed-off-by: Alexey Khoroshilov <khoroshilov@ispras.ru>
Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'tools/perf/scripts/python/check-perf-trace.py')
0 files changed, 0 insertions, 0 deletions