[PATCH v5 4/6] wdt: dw: Free the clock on error