staging: most: v4l2-aim: fix interrupt unsafe spinlocks
authorChristian Gromm <christian.gromm@microchip.com>
Mon, 6 Jun 2016 13:23:05 +0000 (15:23 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 15 Aug 2016 17:17:03 +0000 (19:17 +0200)
commite494df039df0fc73587fda48752bfdbe88a6e7ce
tree92c5c266db2b1629eb8a32a4d204435271602a54
parent99a9ffacc1d390e9548b2370beb816c6739b84b2
staging: most: v4l2-aim: fix interrupt unsafe spinlocks

The functions get_aim_dev() and aim_rx_data() are using interrupt unsafe
spinlocks even though they may be called from an interrupt context.

This patch fixes the described problem.

Signed-off-by: Andrey Shvetsov <andrey.shvetsov@k2l.de>
Signed-off-by: Christian Gromm <christian.gromm@microchip.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/most/aim-v4l2/video.c