Re: [PATCH v1] Bluetooth: hci_qca: Handle spurious wakeup from SoC

2020-11-23 Thread Marcel Holtmann
Hi Abhishek, > I think this code would be simplified by using a delayed_work struct > instead of a timer. And I pointed this out before that all the timers should be moved to a delayed_work. In addition such a complex support for hardware should move towards its own driver solely base on

Re: [PATCH v1] Bluetooth: hci_qca: Handle spurious wakeup from SoC

2020-11-16 Thread Abhishek Pandit-Subedi
Hi Venkata, I think this code would be simplified by using a delayed_work struct instead of a timer. Based on your commit description: On Sun, Nov 15, 2020 at 9:59 AM Venkata Lakshmi Narayana Gubba wrote: > > Added timer to handle spurious wakeup from SoC. > Timer is started when wake

[PATCH v1] Bluetooth: hci_qca: Handle spurious wakeup from SoC

2020-11-15 Thread Venkata Lakshmi Narayana Gubba
Added timer to handle spurious wakeup from SoC. Timer is started when wake indicator is received from SoC. Timer is restarted when valid data is received from SoC. Timer is stopped when sleep indicator is received from SoC. SSR is triggered upon timer expiry. Signed-off-by: Venkata Lakshmi