commit | a78769b80d73468d53d0ad70c5a9e3fd9ff9dc54 | [log] [tgz] |
---|---|---|
author | Daniel Mack <zonque@gmail.com> | Tue Jul 31 22:08:47 2012 -0700 |
committer | Dmitry Torokhov <dmitry.torokhov@gmail.com> | Tue Aug 21 22:29:50 2012 -0700 |
tree | 1b1e90df01fecc0294c3015a2315bbcd73e2f253 | |
parent | a2f25245269d754a9fd687a15db975271a58c5e0 [diff] |
Input: rotary-encoder - defer calls gpio_to_irq() Don't call gpio_to_irq() on GPIOs before gpio_request() succeeded on them. This avoids Ooopses with incorrect DT bindings. Signed-off-by: Daniel Mack <zonque@gmail.com> Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>