aboutsummaryrefslogtreecommitdiffstats
path: root/scripts/generate_rust_target.rs
diff options
context:
space:
mode:
authorAmit Sunil Dhamne <[email protected]>2025-08-15 18:31:51 +0000
committerGreg Kroah-Hartman <[email protected]>2025-08-17 10:14:50 +0000
commitcabb6c5f4d9e7f49bdf8c0a13c74bd93ee35f45a (patch)
tree9282e7929870181a55a3e40cf51e5d9dcd9de276 /scripts/generate_rust_target.rs
parentusb: dwc3: Remove WARN_ON for device endpoint command timeouts (diff)
downloadkernel-cabb6c5f4d9e7f49bdf8c0a13c74bd93ee35f45a.tar.gz
kernel-cabb6c5f4d9e7f49bdf8c0a13c74bd93ee35f45a.zip
usb: typec: maxim_contaminant: disable low power mode when reading comparator values
Low power mode is enabled when reading CC resistance as part of `max_contaminant_read_resistance_kohm()` and left in that state. However, it's supposed to work with 1uA current source. To read CC comparator values current source is changed to 80uA. This causes a storm of CC interrupts as it (falsely) detects a potential contaminant. To prevent this, disable low power mode current sourcing before reading comparator values. Fixes: 02b332a06397 ("usb: typec: maxim_contaminant: Implement check_contaminant callback") Cc: stable <[email protected]> Signed-off-by: Amit Sunil Dhamne <[email protected]> Reviewed-by: Badhri Jagan Sridharan <[email protected]> Rule: add Link: https://lore.kernel.org/stable/20250814-fix-upstream-contaminant-v1-1-801ce8089031%40google.com Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'scripts/generate_rust_target.rs')
0 files changed, 0 insertions, 0 deletions