Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit c74ef1f8 authored by Luotao Fu's avatar Luotao Fu Committed by Dan Williams
Browse files

ipu_idmac: fix spinlock type



fix a probably accidently dropped reference operator while calling
spin_unlock_restore to an ipu lock.

Signed-off-by: default avatarLuotao Fu <l.fu@pengutronix.de>
Cc: Guennadi Liakhovetski <lg@denx.de>
Signed-off-by: default avatarAndrew Morton <akpm@linux-foundation.org>
Signed-off-by: default avatarDan Williams <dan.j.williams@intel.com>
parent a09b09ae
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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;
}