Re: [PATCH] clk: clk-gpio: Allow GPIO to sleep in set/get_parent

2018-03-19 Thread Stephen Boyd
Quoting Mike Looijmans (2018-03-13 01:54:03) > 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

Re: [PATCH] clk: clk-gpio: Allow GPIO to sleep in set/get_parent

2018-03-19 Thread Stephen Boyd
Quoting Mike Looijmans (2018-03-13 01:54:03) > 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

[PATCH] clk: clk-gpio: Allow GPIO to sleep in set/get_parent

2018-03-13 Thread Mike Looijmans
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

[PATCH] clk: clk-gpio: Allow GPIO to sleep in set/get_parent

2018-03-13 Thread Mike Looijmans
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