]> www.infradead.org Git - users/jedix/linux-maple.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)
committerAndi Shyti <andi.shyti@kernel.org>
Tue, 24 Sep 2024 14:23:26 +0000 (16:23 +0200)
commitf2990f8630531a99cad4dc5c44cb2a11ded42492
tree0de5f505907d582c2fb885117918add06af9ea08
parent5d69d5a00f80488ddcb4dee7d1374a0709398178
i2c: synquacer: Deal with optional PCLK correctly

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>
drivers/i2c/busses/i2c-synquacer.c