/* De-initialize GPIO handle. stops operation and releases the software resources used by the handle.  */
int32_t csi_gpio_port_uninitialize(gpio_port_handle_t handle)
/* De-initialize GPIO handle. stops operation and releases the software resources used by the handle.  */
int32_t csi_gpio_port_uninitialize(gpio_port_handle_t handle)
{
    GPIO_NULL_PARAM_CHK(handle);
    dw_gpio_priv_t *gpio_priv = handle;
    gpio_priv->cb = NULL;
    drv_nvic_disable_irq(gpio_priv->irq);
    return 0;
}