summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorMike Looijmans <mike.looijmans@topic.nl>2018-03-13 09:54:03 +0100
committerStephen Boyd <sboyd@kernel.org>2018-03-19 13:53:08 -0700
commit2e838e7f3a8979f9f323214dccb9263fde526b11 (patch)
tree293e7e8501a487c4dc5584f3ab4aa880591f01aa /include
parent7928b2cbe55b2a410a0f5c1f154610059c57b1b2 (diff)
downloadlinux-stable-2e838e7f3a8979f9f323214dccb9263fde526b11.tar.gz
linux-stable-2e838e7f3a8979f9f323214dccb9263fde526b11.tar.bz2
linux-stable-2e838e7f3a8979f9f323214dccb9263fde526b11.zip
clk: clk-gpio: Allow GPIO to sleep in set/get_parent
When changing or retrieving clock parents, the caller is in a sleepable state (like prepare) so the GPIO operation need not be atomic. Replace gpiod_{g|s}et_value with gpiod_{g|s}et_value_cansleep in the {g|s}et_parent calls for the GPIO based clock mux. This fixes a "slowpath" warning when the GPIO controller is an I2C expander or something similar. Signed-off-by: Mike Looijmans <mike.looijmans@topic.nl> Signed-off-by: Stephen Boyd <sboyd@kernel.org>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions