diff options
| author | Tony Lindgren <[email protected]> | 2019-09-14 14:02:56 -0700 |
|---|---|---|
| committer | Herbert Xu <[email protected]> | 2019-10-05 01:06:11 +1000 |
| commit | eaecce12f5f0d2c35d278e41e1bc4522393861ab (patch) | |
| tree | c252bd37be51c0cb005c78e28067ca7f2ea8f310 /tools/perf/scripts/python/export-to-postgresql.py | |
| parent | 0c0ef9ea6f3f0d5979dc7b094b0a184c1a94716b (diff) | |
hwrng: omap3-rom - Call clk_disable_unprepare() on exit only if not idled
When unloading omap3-rom-rng, we'll get the following:
WARNING: CPU: 0 PID: 100 at drivers/clk/clk.c:948 clk_core_disable
This is because the clock may be already disabled by omap3_rom_rng_idle().
Let's fix the issue by checking for rng_idle on exit.
Cc: Aaro Koskinen <[email protected]>
Cc: Adam Ford <[email protected]>
Cc: Pali Rohár <[email protected]>
Cc: Sebastian Reichel <[email protected]>
Cc: Tero Kristo <[email protected]>
Fixes: 1c6b7c2108bd ("hwrng: OMAP3 ROM Random Number Generator support")
Signed-off-by: Tony Lindgren <[email protected]>
Signed-off-by: Herbert Xu <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions