Merge "diag: Release wakeup sources properly"