| .. | .. |
|---|
| 251 | 251 | return -EINVAL; |
|---|
| 252 | 252 | |
|---|
| 253 | 253 | if (mc_io->flags & FSL_MC_IO_ATOMIC_CONTEXT_PORTAL) |
|---|
| 254 | | - spin_lock_irqsave(&mc_io->spinlock, irq_flags); |
|---|
| 254 | + raw_spin_lock_irqsave(&mc_io->spinlock, irq_flags); |
|---|
| 255 | 255 | else |
|---|
| 256 | 256 | mutex_lock(&mc_io->mutex); |
|---|
| 257 | 257 | |
|---|
| .. | .. |
|---|
| 287 | 287 | error = 0; |
|---|
| 288 | 288 | common_exit: |
|---|
| 289 | 289 | if (mc_io->flags & FSL_MC_IO_ATOMIC_CONTEXT_PORTAL) |
|---|
| 290 | | - spin_unlock_irqrestore(&mc_io->spinlock, irq_flags); |
|---|
| 290 | + raw_spin_unlock_irqrestore(&mc_io->spinlock, irq_flags); |
|---|
| 291 | 291 | else |
|---|
| 292 | 292 | mutex_unlock(&mc_io->mutex); |
|---|
| 293 | 293 | |
|---|