diff options
| author | 2018-04-26 09:28:02 +0200 | |
|---|---|---|
| committer | 2018-04-26 12:41:22 +0100 | |
| commit | 0d7412ed1f5dc0858eb4f29650a8c9c5cce8b285 (patch) | |
| tree | d075e8c26ade988fe75d33ff9528c4ac724feae1 /include/linux/debugobjects.h | |
| parent | spi: s3c64xx: samsung: Remove support for Exynos5440 (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 <Stefan.Potyra@elektrobit.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'include/linux/debugobjects.h')
0 files changed, 0 insertions, 0 deletions
