[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <cac8862fff16a9f1d4ba59371a226759ad9b71cb.camel@linaro.org>
Date: Mon, 09 Dec 2024 10:06:05 +0000
From: André Draszik <andre.draszik@...aro.org>
To: Dan Carpenter <dan.carpenter@...aro.org>, Badhri Jagan Sridharan
<badhri@...gle.com>
Cc: Heikki Krogerus <heikki.krogerus@...ux.intel.com>, Greg Kroah-Hartman
<gregkh@...uxfoundation.org>, Guenter Roeck <linux@...ck-us.net>,
linux-usb@...r.kernel.org, linux-kernel@...r.kernel.org,
kernel-janitors@...r.kernel.org
Subject: Re: [PATCH] usb: typec: tcpm/tcpci_maxim: fix error code in
max_contaminant_read_resistance_kohm()
On Fri, 2024-12-06 at 16:09 +0300, Dan Carpenter wrote:
> 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")
> Signed-off-by: Dan Carpenter <dan.carpenter@...aro.org>
> ---
Reviewed-by: André Draszik <andre.draszik@...aro.org>
Powered by blists - more mailing lists