android_kernel_samsung_a7y1.../drivers/char
Tony Lindgren 4626db6d77 hwrng: omap3-rom - Call clk_disable_unprepare() on exit only if not idled
[ Upstream commit eaecce12f5f0d2c35d278e41e1bc4522393861ab ]

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 <aaro.koskinen@iki.fi>
Cc: Adam Ford <aford173@gmail.com>
Cc: Pali Rohár <pali.rohar@gmail.com>
Cc: Sebastian Reichel <sre@kernel.org>
Cc: Tero Kristo <t-kristo@ti.com>
Fixes: 1c6b7c2108bd ("hwrng: OMAP3 ROM Random Number Generator support")
Signed-off-by: Tony Lindgren <tony@atomide.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2020-04-07 13:20:24 +02:00
..
agp A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
hw_random hwrng: omap3-rom - Call clk_disable_unprepare() on exit only if not idled 2020-04-07 13:20:24 +02:00
ipmi ipmi_si: Only schedule continuously in the thread in maintenance mode 2020-04-07 07:42:51 +02:00
mwave A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
pcmcia A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
tpm tpm/tpm_i2c_atmel: Return -E2BIG when the transfer is incomplete 2020-04-06 15:49:13 +02:00
xilinx_hwicap A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
xillybus A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
apm-emulation.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
applicom.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
applicom.h A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
bfin-otp.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
bsr.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
ds1302.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
ds1620.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
dsp56k.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
dtlk.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
efirtc.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
generic_nvram.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
genrtc.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
hangcheck-timer.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
hpet.c hpet: Fix division by zero in hpet_time_div() 2020-04-06 20:16:43 +02:00
Kconfig tty: mark Siemens R3964 line discipline as BROKEN 2020-04-06 15:07:21 +02:00
knox_kap.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
lp.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
Makefile A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
mbcs.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
mbcs.h A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
mem.c /dev/mem: Bail out upon SIGKILL. 2020-04-07 07:40:48 +02:00
misc.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
mmtimer.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
mspec.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
mst_ctrl.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
nsc_gpio.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
nvram.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
nwbutton.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
nwbutton.h A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
nwflash.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
pc8736x_gpio.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
ppdev.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
ps3flash.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
random.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
raw.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
rtc.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
scx200_gpio.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
snsc_event.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
snsc.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
snsc.h A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
sonypi.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
tb0219.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
tile-srom.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
tlclk.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
toshiba.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
ttyprintk.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
uv_mmtimer.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
virtio_console.c virtio_console: move removal code 2020-04-07 12:37:33 +02:00