staging: most: aim-network: fix interrupt unsafe spinlocks
authorChristian Gromm <christian.gromm@microchip.com>
Thu, 18 Aug 2016 13:28:27 +0000 (15:28 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 18 Aug 2016 15:24:00 +0000 (17:24 +0200)
commita75c03126f93713e121ea90fbaa2eaf55063c236
treef8c0fc60d72b37b96db21c13950730da55eaf502
parent4485842493fe5efca436b7a0fa1f1f34c286f77f
staging: most: aim-network: fix interrupt unsafe spinlocks

The networking AIM does not use the *_irqsave and *_irqrestore flavored
spinlock functions. The rx_completion callback, however, can be called
from an interrupt context.

This patch is needed to fix this 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-network/networking.c