aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/Perf-Trace-Util/lib/Perf/Trace/Util.py
diff options
context:
space:
mode:
authorChen-Yu Tsai <[email protected]>2018-12-17 12:04:41 +0800
committerMarcel Holtmann <[email protected]>2018-12-19 00:28:38 +0100
commit55dbfcd0f621a745acfd8e3221c41be181b5b128 (patch)
treececfbdded597379f821a27ca4f2de808b6fc8f74 /tools/perf/scripts/python/Perf-Trace-Util/lib/Perf/Trace/Util.py
parent8c08947b7c4f4496e7c23be970121280fcb6cbf5 (diff)
Bluetooth: hci_bcm: Use "txco" and "extclk" to get clock reference
Originally the device tree binding only specified one clock reference, with the name "extclk". The driver simply retrieves the clock without bothering to specify a name. Since we added a second clock to the binding, we need to fetch the clocks by name now. First we try the new name "txco", then fall back to the old name "extclk", and finally try retrieving a clock without using any name, to cover any instances where a bad device tree or firmware worked by accident. In the last case, we should take care that we don't get the same clock twice when we add support for the "lpo" clock. Tested-by: Ondrej Jirman <[email protected]> Signed-off-by: Chen-Yu Tsai <[email protected]> Signed-off-by: Marcel Holtmann <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/Perf-Trace-Util/lib/Perf/Trace/Util.py')
0 files changed, 0 insertions, 0 deletions