omap4: fix race condition