RE: [PATCH v6 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; Phillips Kim-R1AAHA; > herb...@gondor.hengli.com.au; da...@davemloft.net; > gre...@linuxfoundation.org; Li Yang-R58472; Tabi Timur-B04825 > Subject: Re: [PATCH v6 6/8] fsl-dma: use spin_lock_bh to instead of > spin_lock_irqsave > > On Monday

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

2012-08-06 Thread Arnd Bergmann
On Monday 06 August 2012, qiang@freescale.com wrote: > > 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

[PATCH v6 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