diff options
| author | Hans Verkuil <hansverk@cisco.com> | 2016-08-24 07:17:22 -0300 |
|---|---|---|
| committer | Ray Zhang <rayz@codeaurora.org> | 2017-05-25 11:22:11 +0800 |
| commit | e285adf42427d22811fd72bb7f975002903166fa (patch) | |
| tree | cae1999e27ff64c0ef95479033af24560ee6ac4f /tools/perf/scripts/python | |
| parent | 4901a435830238a3e1f9b5cede4eaa322ab9bcd5 (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.
Change-Id: Iaf12028cfe4d8b58d4fb09ff06ce680769188d16
Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
Git-commit: 60815d4a78204915f5cdf79a536bc96d5d23ae5f
Git-repo: git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable.git
Signed-off-by: Ray Zhang <rayz@codeaurora.org>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions
