diff options
author | Aaro Koskinen <aaro.koskinen@nsn.com> | 2013-12-20 18:19:47 +0400 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2013-12-20 20:49:17 +0400 |
commit | 632fefaf1fff7c344191c363e08a43cf006fe60e (patch) | |
tree | 7566daa4c206e48a40842044f586e77782233f6c /lib | |
parent | 65861ab458993511b0f908e4501436467a044743 (diff) | |
download | linux-632fefaf1fff7c344191c363e08a43cf006fe60e.tar.xz |
uio: fix devm_request_irq usage
Commit e6789cd3dfb553077606ccafeb05e0043f072481 (uio: Simplify uio error
path by using devres functions) converted uio to use devm_request_irq().
This introduced a change in behaviour since the IRQ is associated with
the parent device instead of the created UIO device. The IRQ will remain
active after uio_unregister_device() is called, and some drivers will
crash because of this. The patch fixes this.
Signed-off-by: Aaro Koskinen <aaro.koskinen@nsn.com>
Cc: stable <stable@vger.kernel.org> # 3.13
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'lib')
0 files changed, 0 insertions, 0 deletions