diff options
author | Dmitry Torokhov <dmitry.torokhov@gmail.com> | 2015-02-10 17:47:04 -0800 |
---|---|---|
committer | Dmitry Torokhov <dmitry.torokhov@gmail.com> | 2015-02-15 16:06:04 -0800 |
commit | 7694f44d63c61883fefba6e8ad12075f17d3ebd3 (patch) | |
tree | 80a38c05a787047337557a85b3a6e7aad602062a /sound/drivers | |
parent | bfa76d49576599a4b9f9b7a71f23d73d6dcff735 (diff) | |
download | op-kernel-dev-7694f44d63c61883fefba6e8ad12075f17d3ebd3.zip op-kernel-dev-7694f44d63c61883fefba6e8ad12075f17d3ebd3.tar.gz |
Input: bfin_rotary - fix potential oops in interrupt handler
The interrupt handler in the driver tries to fetch driver data from
platform device, unfortunately it is only set up after interrupt handler
is registered. Since interrupt handler does not really need to access
the platform device itself let's change it to get the driver data
instance instead.
Acked-by: Sonic Zhang <sonic.zhang@analog.com>
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
Diffstat (limited to 'sound/drivers')
0 files changed, 0 insertions, 0 deletions