diff options
| author | Matthias Kaehlcke <mka@chromium.org> | 2020-06-06 09:53:06 -0700 |
|---|---|---|
| committer | Marcel Holtmann <marcel@holtmann.org> | 2020-06-08 10:09:37 +0200 |
| commit | 7310dd3fbaa5a23f2b4a1c17ece2a0c7434a1d98 (patch) | |
| tree | 99408333ffedea5520292f55f1d57d8f7f8e7c26 /tools/perf/scripts/python/event_analyzing_sample.py | |
| parent | Bluetooth: hci_qca: Fix an error pointer dereference (diff) | |
| download | linux-7310dd3fbaa5a23f2b4a1c17ece2a0c7434a1d98.tar.gz linux-7310dd3fbaa5a23f2b4a1c17ece2a0c7434a1d98.zip | |
Bluetooth: hci_qca: Simplify determination of serial clock on/off state from votes
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.
Signed-off-by: Matthias Kaehlcke <mka@chromium.org>
Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
Diffstat (limited to 'tools/perf/scripts/python/event_analyzing_sample.py')
0 files changed, 0 insertions, 0 deletions
