Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

slimbus: core: do not enter to clock pause mode in core

Let the controller logic decide when to enter into clock pause mode!
Entering in to pause mode during unregistration does not really make
sense as the controller is totally going down at that point in time.

Fixes: 4b14e62ad3c9e ("slimbus: Add support for 'clock-pause' feature")
Signed-off-by: Srinivas Kandagatla <srinivas.kandagatla@linaro.org>
Link: https://lore.kernel.org/r/20200925095520.27316-3-srinivas.kandagatla@linaro.org
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>

authored by

Srinivas Kandagatla and committed by
Greg Kroah-Hartman
df2c471c f97769fd

-2
-2
drivers/slimbus/core.c
··· 301 301 { 302 302 /* Remove all clients */ 303 303 device_for_each_child(ctrl->dev, NULL, slim_ctrl_remove_device); 304 - /* Enter Clock Pause */ 305 - slim_ctrl_clk_pause(ctrl, false, 0); 306 304 ida_simple_remove(&ctrl_ida, ctrl->id); 307 305 308 306 return 0;