[PATCH openEuler-5.10 274/582] extcon: extcon-max8997: Fix IRQ freeing at error path