diff options
author | Hongbo Zhang <hongbo.zhang@freescale.com> | 2014-05-21 16:03:01 +0800 |
---|---|---|
committer | Vinod Koul <vinod.koul@intel.com> | 2014-07-14 21:32:18 +0530 |
commit | 2baff5700b0832632f05c2ae93362fe3320cc735 (patch) | |
tree | cf30808cd57a5d18e33fce720a9c3574f74a44db /sound/sh/Kconfig | |
parent | 1795cd9b3a91d4b5473c97f491d63892442212ab (diff) |
dmaengine: Freescale: use spin_lock_bh instead of spin_lock_irqsave
The usage of spin_lock_irqsave() is a stronger locking mechanism than is
required throughout the driver. The minimum locking required should be used
instead. Interrupts will be turned off and context will be saved, it is
unnecessary to use irqsave.
This patch changes all instances of spin_lock_irqsave() to spin_lock_bh(). All
manipulation of protected fields is done using tasklet context or weaker, which
makes spin_lock_bh() the correct choice.
Signed-off-by: Hongbo Zhang <hongbo.zhang@freescale.com>
Signed-off-by: Qiang Liu <qiang.liu@freescale.com>
Signed-off-by: Vinod Koul <vinod.koul@intel.com>
Diffstat (limited to 'sound/sh/Kconfig')
0 files changed, 0 insertions, 0 deletions