diff options
| author | Dan Carpenter <dan.carpenter@oracle.com> | 2016-05-09 05:22:55 -0300 |
|---|---|---|
| committer | Mister Oyster <oysterized@gmail.com> | 2017-04-11 10:58:26 +0200 |
| commit | b4477162ecffbaf48d877442967250dadca60ce1 (patch) | |
| tree | 252a76fa434faf71cd6bb9aa4ba4aed1acb5ee87 /include/linux/vcodec | |
| parent | 5b233b0a1d1a758e5043a4c357fd35d7cf2ab60f (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: Willy Tarreau <w@1wt.eu>
Diffstat (limited to 'include/linux/vcodec')
0 files changed, 0 insertions, 0 deletions
