소스 검색

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

Linux Build Service Account 6 년 전
부모
커밋
a43f819ec7
1개의 변경된 파일2개의 추가작업 그리고 3개의 파일을 삭제
  1. 2 3
      soc/swr-mstr-ctrl.c

+ 2 - 3
soc/swr-mstr-ctrl.c

@@ -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>
@@ -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;
 }