gpio: eic-sprd: Clear interrupt after set the interrupt type