diff options
author | Hector Martin <marcan@marcan.st> | 2025-04-27 11:30:43 +0000 |
---|---|---|
committer | Andi Shyti <andi@smida.it> | 2025-05-19 22:23:56 +0200 |
commit | 88fe3078b54c9efaea7d1adfcf295e37dfb0274f (patch) | |
tree | 19a8c8eca2a520a2e05c8ce3a779e0528fb10da8 /net/lapb/lapb_timer.c | |
parent | 25909e19c22b0f5a78bc7667598f849c86af91bd (diff) |
i2c: pasemi: Enable the unjam machine
The I2C bus can get stuck under some conditions (desync between
controller and device). The pasemi controllers include an unjam feature
that is enabled on reset, but was being disabled by the driver. Keep it
enabled by explicitly setting the UJM bit in the CTL register. This
should help recover the bus from certain conditions, which would
otherwise remain stuck forever.
Signed-off-by: Hector Martin <marcan@marcan.st>
Reviewed-by: Neal Gompa <neal@gompa.dev>
Reviewed-by: Alyssa Rosenzweig <alyssa@rosenzweig.io>
Signed-off-by: Sven Peter <sven@svenpeter.dev>
Link: https://lore.kernel.org/r/20250427-pasemi-fixes-v3-1-af28568296c0@svenpeter.dev
Signed-off-by: Andi Shyti <andi.shyti@kernel.org>
Diffstat (limited to 'net/lapb/lapb_timer.c')
0 files changed, 0 insertions, 0 deletions