fail to to call WdfIoTargetOpen with error STATUS_GPIO_INCOMPATIBLE_CONNECT_MODE

Hi! NTDEV,
Sorry to disturb again.
When I call WdfIoTargetOpen to open an gpio controller, sometimes it will return STATUS_GPIO_INCOMPATIBLE_CONNECT_MODE(0xc000a126).
The gpio acted as both gpioint( interrupt ) and gpioio( io ), for my device configged in ACPI.
I need to write this gpio, and the interrupt will be disabled in advance.
Sometimes the operation succeeds, but sometimes it fails.

Does anyone encountered this situation?

wayne wang