https://github.com/torvalds/linux
Revision a04f144059ac09f2c3da50b5707df589044aad66 authored by KT Liao on 23 May 2017, 20:41:47 UTC, committed by Dmitry Torokhov on 25 May 2017, 17:11:45 UTC
Use wait_for_completion_timeout() instead of
wait_for_completion_interruptible_timeout() to avoid stray signals ruining
firmware update. Our timeout is only 300 msec so we are fine simply letting
it expire in case device misbehaves.

Signed-off-by: KT Liao <kt.liao@emc.com.tw>
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
1 parent 4b3c7db
History
Tip revision: a04f144059ac09f2c3da50b5707df589044aad66 authored by KT Liao on 23 May 2017, 20:41:47 UTC
Input: elan_i2c - ignore signals when finishing updating firmware
Tip revision: a04f144
File Mode Size
libfdt
.gitignore -rw-r--r-- 54 bytes
Makefile -rw-r--r-- 1.0 KB
Makefile.dtc -rw-r--r-- 372 bytes
checks.c -rw-r--r-- 20.6 KB
data.c -rw-r--r-- 5.2 KB
dt_to_config -rwxr-xr-x 40.9 KB
dtc-lexer.l -rw-r--r-- 6.7 KB
dtc-lexer.lex.c_shipped -rw-r--r-- 59.0 KB
dtc-parser.tab.c_shipped -rw-r--r-- 70.3 KB
dtc-parser.tab.h_shipped -rw-r--r-- 3.1 KB
dtc-parser.y -rw-r--r-- 9.5 KB
dtc.c -rw-r--r-- 9.3 KB
dtc.h -rw-r--r-- 8.0 KB
dtx_diff -rwxr-xr-x 8.6 KB
fdtdump.c -rw-r--r-- 3.6 KB
fdtget.c -rw-r--r-- 8.6 KB
fdtput.c -rw-r--r-- 8.3 KB
flattree.c -rw-r--r-- 22.2 KB
fstree.c -rw-r--r-- 2.2 KB
livetree.c -rw-r--r-- 19.5 KB
srcpos.c -rw-r--r-- 6.8 KB
srcpos.h -rw-r--r-- 3.6 KB
treesource.c -rw-r--r-- 6.0 KB
update-dtc-source.sh -rwxr-xr-x 2.2 KB
util.c -rw-r--r-- 9.4 KB
util.h -rw-r--r-- 7.5 KB
version_gen.h -rw-r--r-- 42 bytes

back to top