mirror of https://github.com/torvalds/linux.git
The calls write_lock/unlock_irq() disables and re-enables the IRQs. Calling spin_lock_irqsave() and spin_lock_restore() when the IRQs are already disabled doesn't do anything and just makes the code confusing. Signed-off-by: Dan Carpenter <dan.carpenter@linaro.org> Link: https://lore.kernel.org/r/8be473eb-65e0-42b4-b574-e61c3a7f62d8@moroto.mountain Signed-off-by: Vinod Koul <vkoul@kernel.org> |
||
|---|---|---|
| .. | ||
| Kconfig | ||
| Makefile | ||
| bam_dma.c | ||
| gpi.c | ||
| hidma.c | ||
| hidma.h | ||
| hidma_dbg.c | ||
| hidma_ll.c | ||
| hidma_mgmt.c | ||
| hidma_mgmt.h | ||
| hidma_mgmt_sys.c | ||
| qcom_adm.c | ||