All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH v2 0/2] mfd: platform/chrome: Catch EC feature read errors during probe
@ 2026-06-08 21:15 Andrei Kuchynski
  2026-06-08 21:15 ` [PATCH v2 1/2] platform/chrome: cros_ec_proto: Introduce cros_ec_read_features helper Andrei Kuchynski
  2026-06-08 21:15 ` [PATCH v2 2/2] mfd: cros_ec: Read EC features during probe to catch transfer error Andrei Kuchynski
  0 siblings, 2 replies; 6+ messages in thread
From: Andrei Kuchynski @ 2026-06-08 21:15 UTC (permalink / raw)
  To: Lee Jones, Benson Leung, Tzung-Bi Shih
  Cc: Guenter Roeck, Gwendal Grignou, chrome-platform, linux-kernel,
	Andrei Kuchynski

This series fixes a sysfs duplicate name collision that occurs when the
Fingerprint device fails to respond during probe, causing it to
incorrectly fall back to the generic 'cros_ec' name.

Changes in v2:
- Split into a 2-patch series.
- Carried over Acked-by from Tzung-Bi Shih for Patch 1.
- Fixed an ec->class_dev resource leak by utilizing 'goto failed;'.
- Moved class_dev initialization to prevent a missing release()
  callback warning on the error path.

Andrei Kuchynski (2):
  platform/chrome: cros_ec_proto: Introduce cros_ec_read_features helper
  mfd: cros_ec: Read EC features during probe to catch transfer error

 drivers/mfd/cros_ec_dev.c                   | 18 ++++++++-----
 drivers/platform/chrome/cros_ec_proto.c     | 30 +++++++++++++++------
 include/linux/platform_data/cros_ec_proto.h |  2 ++
 3 files changed, 35 insertions(+), 15 deletions(-)

-- 
2.54.0.1032.g2f8565e1d1-goog


^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2026-06-18 11:21 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-06-08 21:15 [PATCH v2 0/2] mfd: platform/chrome: Catch EC feature read errors during probe Andrei Kuchynski
2026-06-08 21:15 ` [PATCH v2 1/2] platform/chrome: cros_ec_proto: Introduce cros_ec_read_features helper Andrei Kuchynski
2026-06-08 21:15 ` [PATCH v2 2/2] mfd: cros_ec: Read EC features during probe to catch transfer error Andrei Kuchynski
2026-06-18  8:40   ` Lee Jones
2026-06-18  9:31     ` Tzung-Bi Shih
2026-06-18 11:21       ` Lee Jones

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.