summaryrefslogtreecommitdiff
path: root/arch
diff options
context:
space:
mode:
authorStefan Potyra <Stefan.Potyra@elektrobit.com>2018-04-26 09:28:02 +0200
committerMark Brown <broonie@kernel.org>2018-04-26 12:41:22 +0100
commit0d7412ed1f5dc0858eb4f29650a8c9c5cce8b285 (patch)
treed075e8c26ade988fe75d33ff9528c4ac724feae1 /arch
parentb6a4b39152b574af8e4264292fe8fa5368fa1d74 (diff)
downloadlwn-0d7412ed1f5dc0858eb4f29650a8c9c5cce8b285.tar.gz
lwn-0d7412ed1f5dc0858eb4f29650a8c9c5cce8b285.zip
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 <Stefan.Potyra@elektrobit.com> Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'arch')
0 files changed, 0 insertions, 0 deletions