staging:iio:events: Don't copy data to user-space with a locked spinlock.
iio_event_chrdev_read would return -EFAULT if the user-space page was
not resident.
Change-Id: I4ac5d3bc791bb503d014d9db576b9d6d522505b2
Signed-off-by:
Arve Hjønnevåg <arve@android.com>
Loading
Please register or sign in to comment