From: Luotao Fu Date: Thu, 26 Feb 2009 11:29:20 +0000 (+0100) Subject: ipu_idmac: fix spinlock type X-Git-Tag: 2.1b_release~13867^2~1 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=c74ef1f867d18171c8617519ee5fe40b02903934;p=platform%2Fkernel%2Fkernel-mfld-blackbay.git 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 Cc: Guennadi Liakhovetski Signed-off-by: Andrew Morton Signed-off-by: Dan Williams --- 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; }