diff options
| author | Sebastian Andrzej Siewior <[email protected]> | 2018-05-25 09:46:46 +0000 |
|---|---|---|
| committer | Rafael J. Wysocki <[email protected]> | 2018-05-27 09:55:02 +0000 |
| commit | bccaadab5c17ae20077bd93c44e2005b505791ba (patch) | |
| tree | 7f7313f270f2c5aa536b4ab8ffd1d5ddcc49c23b /drivers/fpga/machxo2-spi.c | |
| parent | PM / suspend: Prevent might sleep splats (diff) | |
| download | kernel-bccaadab5c17ae20077bd93c44e2005b505791ba.tar.gz kernel-bccaadab5c17ae20077bd93c44e2005b505791ba.zip | |
PM / wakeup: Make events_lock a RAW_SPINLOCK
The `events_lock' is acquired during suspend while interrupts are
disabled even on RT. The lock is taken only for a very brief moment.
Make it a RAW lock which avoids "sleeping while atomic" warnings on RT.
Signed-off-by: Sebastian Andrzej Siewior <[email protected]>
Signed-off-by: Rafael J. Wysocki <[email protected]>
Diffstat (limited to 'drivers/fpga/machxo2-spi.c')
0 files changed, 0 insertions, 0 deletions
