MLK-11857 mxc IPUv3: PRE: Use spinlock to protect pre_list instead of mutex
authorLiu Ying <Ying.Liu@freescale.com>
Fri, 13 Nov 2015 06:55:55 +0000 (14:55 +0800)
committerNitin Garg <nitin.garg@nxp.com>
Mon, 19 Mar 2018 19:49:14 +0000 (14:49 -0500)
commit17c2d4a79c9c702717ce07b7cfdd45ddbfb05846
tree5c7817f479e105895a1f8757cd9c937be6677c45
parent07a06410a1296576ad3871ffb5d44a735332bf55
MLK-11857 mxc IPUv3: PRE: Use spinlock to protect pre_list instead of mutex

The pre_list can be accessed in an irq context.  To avoid potential hang up
issue, use spinlock to protect pre_list instead of mutex.

Signed-off-by: Liu Ying <Ying.Liu@freescale.com>
drivers/mxc/ipu3/pre.c