GPIO_MODE_INTERRUPT
case GPIO_MODE_INTERRUPT:
if (ptr->mode == GPIO_MODE_INTERRUPT) {
dal_gpio_open(hpd, GPIO_MODE_INTERRUPT);
dal_gpio_open(link->hpd_gpio, GPIO_MODE_INTERRUPT);
dal_gpio_open(hpd_pin, GPIO_MODE_INTERRUPT);
if (dal_gpio_open(hpd, GPIO_MODE_INTERRUPT) == GPIO_RESULT_OK) {
if (dal_gpio_open(hpd, GPIO_MODE_INTERRUPT) == GPIO_RESULT_OK) {