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>
This commit is contained in:
Luotao Fu 2009-02-26 12:29:20 +01:00 committed by Dan Williams
parent a09b09ae51
commit c74ef1f867

View File

@ -729,7 +729,7 @@ static int ipu_init_channel_buffer(struct idmac_channel *ichan,
ichan->status = IPU_CHANNEL_READY; ichan->status = IPU_CHANNEL_READY;
spin_unlock_irqrestore(ipu->lock, flags); spin_unlock_irqrestore(&ipu->lock, flags);
return 0; return 0;
} }