From: Hongbo Zhang Date: Wed, 21 May 2014 08:03:01 +0000 (+0800) Subject: dmaengine: Freescale: use spin_lock_bh instead of spin_lock_irqsave X-Git-Tag: omap-for-v3.17/fixes-against-rc2~88^2~67 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=2baff5700b0832632f05c2ae93362fe3320cc735;p=pandora-kernel.git 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 Signed-off-by: Qiang Liu Signed-off-by: Vinod Koul --- Reading git-diff-tree failed