Input: cm109 - convert high volume dev_err() to dev_err_ratelimited()
authorTim Gardner <tim.gardner@canonical.com>
Thu, 19 Sep 2013 21:24:04 +0000 (14:24 -0700)
committerDmitry Torokhov <dmitry.torokhov@gmail.com>
Sun, 6 Oct 2013 08:23:41 +0000 (01:23 -0700)
commit0a6ad06c43315ce0e5115d5ce51b04464245dde8
tree53947b42185e89bd975e9d123ae53f4df688b064
parenta60a71b035e4d2f4920ef091265b1474a14ab313
Input: cm109 - convert high volume dev_err() to dev_err_ratelimited()

BugLink: http://bugs.launchpad.net/bugs/1222850
This input device can get into a state that produces a high
volume of device status errors. Attempt to throttle these
error messages such that the kernel log is not flooded.

Signed-off-by: Tim Gardner <tim.gardner@canonical.com>
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
drivers/input/misc/cm109.c