Skip to content

Commit

Permalink
ipu_idmac: fix spinlock type
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Luotao Fu authored and Dan Williams committed Mar 4, 2009
1 parent a09b09a commit c74ef1f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/dma/ipu/ipu_idmac.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
Expand Down

0 comments on commit c74ef1f

Please sign in to comment.