diff options
| author | Dan Carpenter <[email protected]> | 2024-12-06 13:09:18 +0000 |
|---|---|---|
| committer | Greg Kroah-Hartman <[email protected]> | 2024-12-23 17:50:09 +0000 |
| commit | b9711ff7cde0cfbcdd44cb1fac55b6eec496e690 (patch) | |
| tree | d94ddf633ebf363b1254a0321bac20a3e8e3d70d /tools/net/ynl/pyynl/cli.py | |
| parent | usb: host: xhci-plat: set skip_phy_initialization if software node has XHCI_S... (diff) | |
| download | kernel-b9711ff7cde0cfbcdd44cb1fac55b6eec496e690.tar.gz kernel-b9711ff7cde0cfbcdd44cb1fac55b6eec496e690.zip | |
usb: typec: tcpm/tcpci_maxim: fix error code in max_contaminant_read_resistance_kohm()
If max_contaminant_read_adc_mv() fails, then return the error code. Don't
return zero.
Fixes: 02b332a06397 ("usb: typec: maxim_contaminant: Implement check_contaminant callback")
Cc: stable <[email protected]>
Signed-off-by: Dan Carpenter <[email protected]>
Reviewed-by: André Draszik <[email protected]>
Reviewed-by: Heikki Krogerus <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'tools/net/ynl/pyynl/cli.py')
0 files changed, 0 insertions, 0 deletions
