Commit b7a886e7 authored by Chenyuan Yang's avatar Chenyuan Yang Committed by Andi Shyti
Browse files

i2c: lpc2k: Add check for clk_enable()



Add check for the return value of clk_enable() to catch
the potential error.

This is similar to the commit 8332e667
("spi: zynq-qspi: Add check for clk_enable()").

Signed-off-by: default avatarChenyuan Yang <chenyuan0y@gmail.com>
Link: https://lore.kernel.org/r/20250412193713.105838-1-chenyuan0y@gmail.com


Signed-off-by: default avatarAndi Shyti <andi.shyti@kernel.org>
parent 5a1934f1
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment