Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit a43f819e authored by Linux Build Service Account's avatar Linux Build Service Account Committed by Gerrit - the friendly Code Review server
Browse files

Merge "soc: swr-mstr: Fix headset detection issue"

parents 54b31be6 3517b110
Loading
Loading
Loading
Loading
+2 −3
Original line number Diff line number Diff line
// SPDX-License-Identifier: GPL-2.0-only
/*
 * Copyright (c) 2015-2018, The Linux Foundation. All rights reserved.
 * Copyright (c) 2015-2019, The Linux Foundation. All rights reserved.
 */

#include <linux/irq.h>
@@ -2188,8 +2188,7 @@ int swrm_register_wake_irq(struct swr_mstr_ctrl *swrm)
				__func__, ret);
			return -EINVAL;
		}
		/* Disable wake irq - enable it after clock stop */
		disable_irq(swrm->wake_irq);
		irq_set_irq_wake(swrm->wake_irq, 1);
	}
	return ret;
}