diff options
author | Stefan Potyra <[email protected]> | 2018-04-26 09:28:02 +0200 |
---|---|---|
committer | Mark Brown <[email protected]> | 2018-04-26 12:41:22 +0100 |
commit | 0d7412ed1f5dc0858eb4f29650a8c9c5cce8b285 (patch) | |
tree | d075e8c26ade988fe75d33ff9528c4ac724feae1 /tools/perf/util/c++/clang.cpp | |
parent | b6a4b39152b574af8e4264292fe8fa5368fa1d74 (diff) |
spi/bcm63xx-hspi: Enable the clock before calling clk_get_rate().
Enable the clock prior to calling clk_get_rate(), because clk_get_rate()
should only be called if the clock is enabled.
Additionally, prepare/enable the pll_clk before calling clk_get_rate()
for the same reason.
Found by Linux Driver Verification project (linuxtesting.org).
Fixes: 142168eba9dc ("spi: bcm63xx-hsspi: add bcm63xx HSSPI driver")
Signed-off-by: Stefan Potyra <[email protected]>
Signed-off-by: Mark Brown <[email protected]>
Diffstat (limited to 'tools/perf/util/c++/clang.cpp')
0 files changed, 0 insertions, 0 deletions