diff options
author | 2014-05-14 11:58:55 -0700 | |
---|---|---|
committer | 2014-05-14 16:40:08 -0700 | |
commit | 70a26071f8552a0f193cf442f424decfe0f2e569 (patch) | |
tree | d6002f935f3727ad52fd7928a46c87a71c6d0d7f /tools/perf/scripts/python/export-to-postgresql.py | |
parent | Input: wacom - add support for 0x116 sensor on Win8 Panasonic CF-H2 (diff) | |
download | linux-dev-70a26071f8552a0f193cf442f424decfe0f2e569.tar.xz linux-dev-70a26071f8552a0f193cf442f424decfe0f2e569.zip |
Input: pmic8xxx-pwrkey - set sane default for debounce time
If the debounce time is 0 our usage of ilog2() later on in this driver will
cause undefined behavior. If CONFIG_OF=n this fact is evident to the
compiler, and it emits a call to ____ilog2_NaN() which doesn't exist. Fix
this by setting a sane default for debounce and failing to probe if
debounce is 0 in the DT.
Reported-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Stephen Boyd <sboyd@codeaurora.org>
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions