diff options
author | Wei Yongjun <yongjun_wei@trendmicro.com.cn> | 2012-10-17 16:54:27 +0200 |
---|---|---|
committer | Jesper Nilsson <jesper@jni.nu> | 2012-12-20 12:51:19 +0100 |
commit | 00addd1a2de8d83dc3a5d6bb926911268ec716c9 (patch) | |
tree | 9a3cd51906455f0dc446c1690ca66a8e6e9c0cc4 /drivers/media/usb/pwc/pwc-ctrl.c | |
parent | e61ac0b05c53f5b56f3ea623c215437c09d8265b (diff) |
CRIS: locking: fix the return value of arch_read_trylock()
arch_write_trylock() should return 'ret' instead of always
return 1.
dpatch engine is used to auto generate this patch.
(https://github.com/weiyj/dpatch)
Signed-off-by: Wei Yongjun <yongjun_wei@trendmicro.com.cn>
Signed-off-by: Jesper Nilsson <jesper.nilsson@axis.com>
Diffstat (limited to 'drivers/media/usb/pwc/pwc-ctrl.c')
0 files changed, 0 insertions, 0 deletions