Re: [PATCH] Bluetooth: hci_qca: Simplify determination of serial clock on/off state from votes

2020-06-08 Thread Marcel Holtmann
Hi Matthias, > The serial clocks should be on when there is a vote for at least one > of the clocks (RX or TX), and off when there is no 'on' vote. The > current logic to determine the combined state is a bit redundant > in the code paths for different types of votes, use a single > statement in

[PATCH] Bluetooth: hci_qca: Simplify determination of serial clock on/off state from votes

2020-06-06 Thread Matthias Kaehlcke
The serial clocks should be on when there is a vote for at least one of the clocks (RX or TX), and off when there is no 'on' vote. The current logic to determine the combined state is a bit redundant in the code paths for different types of votes, use a single statement in the common path instead.