]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
i2c: synquacer: Deal with optional PCLK correctly
authorArd Biesheuvel <ardb@kernel.org>
Thu, 12 Sep 2024 10:46:31 +0000 (12:46 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 10 Oct 2024 10:00:47 +0000 (12:00 +0200)
commit315114f4620780b70159b3fc304b67d6cd76f25f
treebfea2880891b7d3a904e293500dde684662e80ef
parentfa5f0091b39ebfa4a911278b6a498f36de90730c
i2c: synquacer: Deal with optional PCLK correctly

commit f2990f8630531a99cad4dc5c44cb2a11ded42492 upstream.

ACPI boot does not provide clocks and regulators, but instead, provides
the PCLK rate directly, and enables the clock in firmware. So deal
gracefully with this.

Fixes: 55750148e559 ("i2c: synquacer: Fix an error handling path in synquacer_i2c_probe()")
Cc: stable@vger.kernel.org # v6.10+
Cc: Andi Shyti <andi.shyti@kernel.org>
Cc: Christophe JAILLET <christophe.jaillet@wanadoo.fr>
Signed-off-by: Ard Biesheuvel <ardb@kernel.org>
Signed-off-by: Andi Shyti <andi.shyti@kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/i2c/busses/i2c-synquacer.c