Re: [PATCH 1/3] Bluetooth: hci_qca: Only remove TX clock vote after TX is completed

2020-06-08 Thread Marcel Holtmann
Hi Matthias, > qca_suspend() removes the vote for the UART TX clock after > writing an IBS sleep request to the serial buffer. This is > not a good idea since there is no guarantee that the request > has been sent at this point. Instead remove the vote after > successfully entering IBS sleep. This

Re: [PATCH 1/3] Bluetooth: hci_qca: Only remove TX clock vote after TX is completed

2020-06-06 Thread Matthias Kaehlcke
Hi Bala, On Sat, Jun 06, 2020 at 06:23:13PM +0530, bgoda...@codeaurora.org wrote: > Hi Matthias, > > On 2020-06-06 00:16, Matthias Kaehlcke wrote: > > qca_suspend() removes the vote for the UART TX clock after > > writing an IBS sleep request to the serial buffer. This is > > not a good idea sinc

Re: [PATCH 1/3] Bluetooth: hci_qca: Only remove TX clock vote after TX is completed

2020-06-06 Thread bgodavar
Hi Matthias, On 2020-06-06 00:16, Matthias Kaehlcke wrote: qca_suspend() removes the vote for the UART TX clock after writing an IBS sleep request to the serial buffer. This is not a good idea since there is no guarantee that the request has been sent at this point. Instead remove the vote after

Re: [PATCH 1/3] Bluetooth: hci_qca: Only remove TX clock vote after TX is completed

2020-06-05 Thread Abhishek Pandit-Subedi
Hi, On Fri, Jun 5, 2020 at 11:46 AM Matthias Kaehlcke wrote: > > qca_suspend() removes the vote for the UART TX clock after > writing an IBS sleep request to the serial buffer. This is > not a good idea since there is no guarantee that the request > has been sent at this point. Instead remove the

[PATCH 1/3] Bluetooth: hci_qca: Only remove TX clock vote after TX is completed

2020-06-05 Thread Matthias Kaehlcke
qca_suspend() removes the vote for the UART TX clock after writing an IBS sleep request to the serial buffer. This is not a good idea since there is no guarantee that the request has been sent at this point. Instead remove the vote after successfully entering IBS sleep. This also fixes the issue of