diff options
| author | Hans Verkuil <hansverk@cisco.com> | 2016-08-24 07:17:22 -0300 | 
|---|---|---|
| committer | Mauro Carvalho Chehab <mchehab@s-opensource.com> | 2016-09-09 10:38:33 -0300 | 
| commit | 60815d4a78204915f5cdf79a536bc96d5d23ae5f (patch) | |
| tree | 397fcf5b914cd9a75183d84752c1a89f5400b201 /lib/test-string_helpers.c | |
| parent | a179b69359feb26ddb148bb6a2c0c53a8d1dc5be (diff) | |
[media] cec: fix ioctl return code when not registered
Don't return the confusing -EIO error code when the device is not registered,
instead return -ENODEV which is the proper thing to do in this situation.
Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
Diffstat (limited to 'lib/test-string_helpers.c')
0 files changed, 0 insertions, 0 deletions
