Commit 52e7c5e0 authored by Arnd Bergmann's avatar Arnd Bergmann Committed by Jonathan Corbet

basler-excite: BKL pushdown

Signed-off-by: default avatarArnd Bergmann <arnd@arndb.de>
parent 864fe516
...@@ -26,6 +26,7 @@ ...@@ -26,6 +26,7 @@
#include <linux/interrupt.h> #include <linux/interrupt.h>
#include <linux/platform_device.h> #include <linux/platform_device.h>
#include <linux/miscdevice.h> #include <linux/miscdevice.h>
#include <linux/smp_lock.h>
#include "excite_iodev.h" #include "excite_iodev.h"
...@@ -110,8 +111,14 @@ static int __exit iodev_remove(struct device *dev) ...@@ -110,8 +111,14 @@ static int __exit iodev_remove(struct device *dev)
static int iodev_open(struct inode *i, struct file *f) static int iodev_open(struct inode *i, struct file *f)
{ {
return request_irq(iodev_irq, iodev_irqhdl, IRQF_DISABLED, int ret;
lock_kernel();
ret = request_irq(iodev_irq, iodev_irqhdl, IRQF_DISABLED,
iodev_name, &miscdev); iodev_name, &miscdev);
unlock_kernel();
return ret;
} }
static int iodev_release(struct inode *i, struct file *f) static int iodev_release(struct inode *i, struct file *f)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment