diff options
author | Andrew Bresticker <abrestic@chromium.org> | 2014-06-18 20:14:07 +0200 |
---|---|---|
committer | Lee Jones <lee.jones@linaro.org> | 2014-07-09 15:58:20 +0200 |
commit | d1fd345e2087f0362c92bd3b0a1cea7fe636ac3a (patch) | |
tree | 38c93059a128db984ff4d95ee2c2f35f02275fa6 /drivers/eisa | |
parent | mfd: cros_ec: ec_dev->cmd_xfer() returns number of bytes received from EC (diff) | |
download | linux-d1fd345e2087f0362c92bd3b0a1cea7fe636ac3a.tar.xz linux-d1fd345e2087f0362c92bd3b0a1cea7fe636ac3a.zip |
mfd: cros_ec: Move EC interrupt to cros_ec_keyb
If we receive EC interrupts after the cros_ec driver has probed, but
before the cros_ec_keyb driver has probed, the cros_ec IRQ handler
will not run the cros_ec_keyb notifier and the EC will leave the IRQ
line asserted. The cros_ec IRQ handler then returns IRQ_HANDLED and
the resulting flood of interrupts causes the machine to hang.
Since the EC interrupt is currently only used for the keyboard, move
the setup and handling of the EC interrupt to the cros_ec_keyb driver.
Signed-off-by: Andrew Bresticker <abrestic@chromium.org>
Signed-off-by: Doug Anderson <dianders@chromium.org>
Acked-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
Signed-off-by: Lee Jones <lee.jones@linaro.org>
Diffstat (limited to 'drivers/eisa')
0 files changed, 0 insertions, 0 deletions