soc: swr-mstr: Fix headset detection issue
Do not disable wake irq during registration of wake up interrupt as it leads to multiple disable calls of wake irq during boot up and headset detection fails sometimes. CRs-Fixed: 2356299 Change-Id: I79aa0ab46d26dc0e352d399e0d4381a11ed936f4 Signed-off-by: Aditya Bavanari <abavanar@codeaurora.org>
This commit is contained in:
parent
63f4815535
commit
3517b1102a
1 changed files with 2 additions and 3 deletions
|
@ -1,6 +1,6 @@
|
|||
// 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>
|
||||
|
@ -2181,8 +2181,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;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue