diff options
| author | André Gustavo Nakagomi Lopez <[email protected]> | 2021-10-25 09:19:50 -0300 |
|---|---|---|
| committer | Jonathan Cameron <[email protected]> | 2021-11-17 17:51:31 +0000 |
| commit | 8eebe6281ac1062764db23d181e3feb3305a3690 (patch) | |
| tree | 74eb8d30562aad6d182234baaa4f9b32e6e397c4 /tools/perf/scripts/python/export-to-postgresql.py | |
| parent | fa55b7dcdc43c1aa1ba12bca9d2dd4318c2a0dbf (diff) | |
iio: adc: lpc18xx_adc: Reorder clk_get_rate() function call
clk_get_rate() is not guaranteed to work if called before
clk_prepare_enable().
Reorder clk_get_rate(), so it's called after clk_prepare_enable() and
after devm_add_action_or_reset() of lpc18xx_clk_disable().
Not that this is not a problem on this particular device, but it is
good to remove a case that might get copied elsewhere.
Suggested-by: Jonathan Cameron <[email protected]>
Acked-by: Vladimir Zapolskiy <[email protected]>
Signed-off-by: André Gustavo Nakagomi Lopez <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Jonathan Cameron <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions