report_psensor_input_event: bring code closer

Change-Id: I642c124a1d1fbf4c219fc51bd5e17828d1f97a8b
add mutex's to try fix command_write fails

Change-Id: If450bdd34a2c71452b3cc36c6698f702f9259c60