From d9f2bfa16b320925b368986283be0efb4c9f5fab Mon Sep 17 00:00:00 2001 From: ywj Date: Fri, 7 Dec 2012 18:08:49 +0800 Subject: [PATCH] modify error for no key define in init.rk29board.rc second --- drivers/input/keyboard/rk29_keys.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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,":"); -- 2.34.1