Re: [PATCH v1] usb: typec: tcpm: Correct the PDO counting in pd_set
From: Greg KH
Date: Tue Mar 26 2024 - 05:39:29 EST
On Tue, Mar 19, 2024 at 03:43:37PM +0800, Kyle Tso wrote:
> The index in the loop has already been added one and is equal to the
> number of PDOs to be updated when leaving the loop.
That says what is happening but not the issue that is being addressed.
What is the problem with the number being off by one? Is this a "crash
the system" or merely "our accounting is wrong"?
thank,
greg k-h