projects
/
firefly-linux-kernel-4.4.55.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7150244
)
ts: rk29_i2c_goodix: goodix_init_panel retry write cfg info when error
author
黄涛
<huangtao@rock-chips.com>
Mon, 30 Jul 2012 06:07:25 +0000
(14:07 +0800)
committer
黄涛
<huangtao@rock-chips.com>
Mon, 30 Jul 2012 06:07:25 +0000
(14:07 +0800)
drivers/input/touchscreen/rk29_i2c_goodix.c
patch
|
blob
|
history
diff --git
a/drivers/input/touchscreen/rk29_i2c_goodix.c
b/drivers/input/touchscreen/rk29_i2c_goodix.c
index a00966b58ebad2a6b0b9d2345a8d3a868f469fa5..2a2fde8585cd3ed6ccc85492c40b7ce57021fe1a 100755
(executable)
--- a/
drivers/input/touchscreen/rk29_i2c_goodix.c
+++ b/
drivers/input/touchscreen/rk29_i2c_goodix.c
@@
-223,10
+223,9
@@
static int goodix_init_panel(struct rk_ts_data *ts)
while(--retry && (goodix_config_ok(ts) < 0)){
\r
ret=goodix_i2c_write_bytes(ts->client,config_info, (sizeof(config_info)/sizeof(config_info[0])));
\r
if (ret < 0) {
\r
- printk("goodix write cfg info err
"
);
\r
-
return ret
;
\r
+ printk("goodix write cfg info err
, retry %d\n", retry
);
\r
+
msleep(100)
;
\r
}
\r
- msleep(100);
\r
}
\r
\r
if(retry <= 0){
\r