hdaps: Handle errors from input_register_device