pr_err("[BT] Request_host wake irq failed.\n");returnret; } ret =irq_set_irq_wake(irq,1);if(ret) { pr_err("[BT] Set_irq_wake failed.\n");returnret; }snprintf(bt_lpm.wake_lock_name,sizeof(bt_lpm.wake_lock_name),"BTLowPower"); wake_lock_init(&bt_lpm.wake_lock, WAKE_...
* i2c_acpi_get_irq - get device IRQ number from ACPI * @client: Pointer to the I2C client device * @wake_capable: Set to true if the IRQ is wake capable * * Find the IRQ number used by a specific client device. * * Return: The IRQ number or an error code. ...
irq = msi->grps[i].irqs[0].hwirq;irq_set_chained_handler_and_data(irq, NULL, NULL); disable_irq_wake(irq); irq_dispose_mapping(irq); }@@ -541,6 +552,14 @@ static int msm_msi_qgic_irq_setup(struct msm_msi *msi) goto free_irqs; ...
... > >> > [ 45.605239] Unbalanced IRQ 120 wake disable > >> > [ 45.609445] WARNING: CPU: 0 PID: 1124 at kernel/irq/manage.c:800 > >> > irq_set_irq_wake+0x154/0x
set_irq_type(host_wake_irq , IRQ_TYPE_EDGE_RISING); ret = request_irq(host_wake_irq , bt_host_wake_isr,0, pdev->name,NULL);if(ret <0)returnret;set_irq_wake(host_wake_irq,1); }else{set_irq_wake(host_wake_irq,0);