diff options
author | Luotao Fu <l.fu@pengutronix.de> | 2009-02-26 12:29:20 +0100 |
---|---|---|
committer | Dan Williams <dan.j.williams@intel.com> | 2009-03-04 16:04:41 -0700 |
commit | c74ef1f867d18171c8617519ee5fe40b02903934 (patch) | |
tree | 35aacfe4325ecf38bea4ec484444fc4b04d66b6d /drivers | |
parent | a09b09ae51ace43d28cd9bc1c8bb97986f2b55a6 (diff) | |
download | op-kernel-dev-c74ef1f867d18171c8617519ee5fe40b02903934.zip op-kernel-dev-c74ef1f867d18171c8617519ee5fe40b02903934.tar.gz |
ipu_idmac: fix spinlock type
fix a probably accidently dropped reference operator while calling
spin_unlock_restore to an ipu lock.
Signed-off-by: Luotao Fu <l.fu@pengutronix.de>
Cc: Guennadi Liakhovetski <lg@denx.de>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Dan Williams <dan.j.williams@intel.com>
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/dma/ipu/ipu_idmac.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/dma/ipu/ipu_idmac.c b/drivers/dma/ipu/ipu_idmac.c index 1f154d0..ae50a9d 100644 --- a/drivers/dma/ipu/ipu_idmac.c +++ b/drivers/dma/ipu/ipu_idmac.c @@ -729,7 +729,7 @@ static int ipu_init_channel_buffer(struct idmac_channel *ichan, ichan->status = IPU_CHANNEL_READY; - spin_unlock_irqrestore(ipu->lock, flags); + spin_unlock_irqrestore(&ipu->lock, flags); return 0; } |