[PATCH 6.2 531/663] rtc: k3: handle errors while enabling wake irq