forked from Minki/linux
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:
parent
a09b09ae51
commit
c74ef1f867
@ -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;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user