Messages in this thread | | | Date | Fri, 21 Apr 2023 15:59:52 +0200 | From | Marc Kleine-Budde <> | Subject | Re: [PATCH v3] i2c: lpi2c: cache peripheral clock rate |
| |
On 21.04.2023 15:48:59, Alexander Stein wrote: [...] > Now lpi2c_runtime_resume will call into clk_prepare() which also calls > clk_prepare_lock() (identical to clk_get_rate).
IIRC this is a general problem^w limitation of the clock framework, clock providers cannot use clocks themselves in certain callback, e.g. set_rate.
Marc
-- Pengutronix e.K. | Marc Kleine-Budde | Embedded Linux | https://www.pengutronix.de | Vertretung Nürnberg | Phone: +49-5121-206917-129 | Amtsgericht Hildesheim, HRA 2686 | Fax: +49-5121-206917-9 | [unhandled content-type:application/pgp-signature] | |