(subset) [PATCH v3 1/1] i2c: lpi2c: Avoid calling clk_get_rate during transfer

Andi Shyti andi.shyti at kernel.org
Mon Apr 22 15:51:17 PDT 2024


Hi

On Mon, 22 Apr 2024 13:36:29 +0200, Alexander Stein wrote:
> Instead of repeatedly calling clk_get_rate for each transfer, lock
> the clock rate and cache the value.
> A deadlock has been observed while adding tlv320aic32x4 audio codec to
> the system. When this clock provider adds its clock, the clk mutex is
> locked already, it needs to access i2c, which in return needs the mutex
> for clk_get_rate as well.
> 
> [...]

Applied to i2c/i2c-host on

git://git.kernel.org/pub/scm/linux/kernel/git/andi.shyti/linux.git

Thank you,
Andi

Patches applied
===============
[1/1] i2c: lpi2c: Avoid calling clk_get_rate during transfer
      commit: 7ec84d4d55504710a828047d079cb22f12d4133f




More information about the linux-arm-kernel mailing list