RE: [PATCH 6/8] fsl-dma: use spin_lock_bh to instead of spin_lock_irqsave

2012-08-06 Thread Liu Qiang-B32616
gmail.com; vinod.k...@intel.com > Cc: Phillips Kim-R1AAHA; herb...@gondor.hengli.com.au; > da...@davemloft.net; a...@arndb.de; gre...@linuxfoundation.org; Liu > Qiang-B32616; Li Yang-R58472; Tabi Timur-B04825 > Subject: [PATCH 6/8] fsl-dma: use spin_lock_bh to instead of > spin_

[PATCH 6/8] fsl-dma: use spin_lock_bh to instead of spin_lock_irqsave

2012-08-06 Thread qiang.liu
From: Qiang Liu The use 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, there is needless to use irqsave. Change all instances of spin_lock