commit | e44c153b30c9a0580fc2b5a93f3c6d593def2278 | [log] [tgz] |
---|---|---|
author | Dan Carpenter <dan.carpenter@oracle.com> | Mon May 09 05:22:55 2016 -0300 |
committer | Mauro Carvalho Chehab <mchehab@osg.samsung.com> | Fri Jun 10 08:29:40 2016 -0300 |
tree | 14d26e4daea500ed68ff19e754d4facaede626e7 | |
parent | 917d11a4e0c8c9e3d375a7baa945fe0da6b15f88 [diff] |
[media] em28xx-i2c: rt_mutex_trylock() returns zero on failure 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>