GPIOTE input not functioning normally when migrating from 2.5.0 to 2.6.0

My GPIOTE input seems to stopped working when migrating from NCS 2.5.0 to 2.7.0, so I decided to downgrade to 2.6.0, and it seems the issue is still there. When migrating to 2.6.0, all the changes I have made during the migration that might impact the driver is for GPIOTE due to the API changes, so I don't understand what could be causing the change in behavior of the hardware.... I checked the change log, and I couldn't really find anything that impacts the behavior of these modules. If anyone is also going through the migration and can provide any insights or help it would be greatly appreciated. Thanks! 

Changes made to the GPIOTE code is shown below

// ---------- 2.5.0 ---------- //
uint8_t gpiote_channel;
err = nrfx_gpiote_channel_alloc(&gpiote_channel);
if (err != NRFX_SUCCESS) {
return false;
}

nrfx_gpiote_input_config_t input_config = NRFX_GPIOTE_DEFAULT_INPUT_CONFIG;
nrfx_gpiote_trigger_config_t trigger_config = {.trigger = NRFX_GPIOTE_TRIGGER_LOTOHI, .p_in_channel = &gpiote_channel};
err = nrfx_gpiote_input_configure(input, &input_config, &trigger_config, NULL);
nrfx_gpiote_trigger_enable(input, true);

err = nrfx_gpiote_channel_alloc(&gpiote_channel);
if (err != NRFX_SUCCESS) {
    return false;
}

trigger_config.trigger = NRFX_GPIOTE_TRIGGER_HITOLO;
trigger_config.p_in_channel = &gpiote_channel;

err = nrfx_gpiote_input_configure(input2, &input_config, &trigger_config, NULL);
if (err != NRFX_SUCCESS) {
    return false;
}

nrfx_gpiote_trigger_enable(input2, true);


// ---------- 2.6.0 ---------- //

uint8_t gpiote_channel;
err = nrfx_gpiote_channel_alloc(&g_context.gpiote_inst, &gpiote_channel);
if (err != NRFX_SUCCESS) {
    return false;
}

nrf_gpio_pin_pull_t pull_config = NRF_GPIO_PIN_NOPULL;
nrfx_gpiote_trigger_config_t trigger_config = {.trigger = NRFX_GPIOTE_TRIGGER_LOTOHI, .p_in_channel = &gpiote_channel};
nrfx_gpiote_input_pin_config_t input_pin_config = {.p_pull_config = &pull_config, .p_trigger_config = &trigger_config, .p_handler_config = NULL};

err = nrfx_gpiote_input_configure(&g_context.gpiote_inst, input, &input_pin_config);
if (err != NRFX_SUCCESS) {
    return false;
}

nrfx_gpiote_trigger_enable(&g_context.gpiote_inst, input, true);

err = nrfx_gpiote_channel_alloc(&g_context.gpiote_inst, &gpiote_channel);
if (err != NRFX_SUCCESS) {
    return false;
}

trigger_config.trigger = NRFX_GPIOTE_TRIGGER_HITOLO;
trigger_config.p_in_channel = &gpiote_channel;

err = nrfx_gpiote_input_configure(&g_context.gpiote_inst, input2, &input_pin_config);
if (err != NRFX_SUCCESS) {
    return false;
}

nrfx_gpiote_trigger_enable(&g_context.gpiote_inst, input2, true);

Related