summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-sqlite.py
diff options
context:
space:
mode:
authorDan Carpenter <dan.carpenter@linaro.org>2024-12-06 16:09:18 +0300
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2024-12-23 18:50:09 +0100
commitb9711ff7cde0cfbcdd44cb1fac55b6eec496e690 (patch)
treed94ddf633ebf363b1254a0321bac20a3e8e3d70d /tools/perf/scripts/python/export-to-sqlite.py
parente19852d0bfecbc80976b1423cf2af87ca514a58c (diff)
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 <stable@kernel.org> Signed-off-by: Dan Carpenter <dan.carpenter@linaro.org> Reviewed-by: André Draszik <andre.draszik@linaro.org> Reviewed-by: Heikki Krogerus <heikki.krogerus@linux.intel.com> Link: https://lore.kernel.org/r/f1bf3768-419e-40dd-989c-f7f455d6c824@stanley.mountain Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions