auto_hotplug: add check during input event.
Also, fix the debug parameter to debug the driver taken from msm_hotplug