From: ywj Date: Fri, 7 Dec 2012 10:08:49 +0000 (+0800) Subject: modify error for no key define in init.rk29board.rc second X-Git-Tag: firefly_0821_release~8119 X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=d9f2bfa16b320925b368986283be0efb4c9f5fab;p=firefly-linux-kernel-4.4.55.git modify error for no key define in init.rk29board.rc second --- diff --git a/drivers/input/keyboard/rk29_keys.c b/drivers/input/keyboard/rk29_keys.c index 60066f207816..47141b284c65 100755 --- a/drivers/input/keyboard/rk29_keys.c +++ b/drivers/input/keyboard/rk29_keys.c @@ -101,8 +101,8 @@ static ssize_t rk29key_set(struct device *dev, p = strstr(buf,Arrary[i].keyArrary); if(p==0) { - printk(" rk29key_set p == 0 error ...............\n"); - return 0; + dev_dbg(" rk29key_set p == 0 error ...............\n"); + continue; } start = strcspn(p,":");