diff options
| author | Dan Carpenter <dan.carpenter@oracle.com> | 2016-05-09 05:22:55 -0300 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2016-10-07 15:23:44 +0200 |
| commit | 5d6700e3d62450658de92ee8f6da850bd78854e8 (patch) | |
| tree | 845437546afc54f1f0ea07c0147ddffaba612693 /tools/perf/scripts/python | |
| parent | c5f519610b9636e6abee78c54e85ecb46dcc9b49 (diff) | |
em28xx-i2c: rt_mutex_trylock() returns zero on failure
commit e44c153b30c9a0580fc2b5a93f3c6d593def2278 upstream.
The code is checking for negative returns but it should be checking for
zero.
Fixes: aab3125c43d8 ('[media] em28xx: add support for registering multiple i2c buses')
Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions
