diff options
author | Sylvain Lesne <lesne@alse-fr.com> | 2017-09-18 13:08:01 +0200 |
---|---|---|
committer | Vinod Koul <vinod.koul@intel.com> | 2017-09-28 13:11:46 +0530 |
commit | edf10919e5fc8dfd10e57ed72f651204559bc6ba (patch) | |
tree | 29c938ba46a6352433f884d05f36192eaa696a26 /lib/once.c | |
parent | d9ec46416de5ef83220f1c7010ee0f5d1be1d753 (diff) |
dmaengine: altera: fix spinlock usage
Since this lock is acquired in both process and IRQ context, failing to
to disable IRQs when trying to acquire the lock in process context can
lead to deadlocks.
Signed-off-by: Sylvain Lesne <lesne@alse-fr.com>
Reviewed-by: Stefan Roese <sr@denx.de>
Signed-off-by: Vinod Koul <vinod.koul@intel.com>
Diffstat (limited to 'lib/once.c')
0 files changed, 0 insertions, 0 deletions