Sebastian Lackner : dinput: Avoid deadlock when CS are acquired in different order.