ARM: PL08x: fix locking between prepare function and submit function