From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id B32AEA3D for ; Tue, 23 Aug 2022 04:43:35 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 5D59DC433C1; Tue, 23 Aug 2022 04:43:34 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1661229815; bh=wSCy+pZGrLhAu5Ll4vquVklYFYToDjrOBozYb7NQbsU=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=FIOHuY9DIFetdETt74nd89OguIJqdEmgcLVfxzYnXHh+j/fvGePO1MfBMI/toTE3/ Ort96tLJVS0X/m00OkK2/XD+FrgqFMXCsIVe4znv7/OLqw4106vFmezdsXmO0oiJCI VzewNzp6MZ7oSqrIPOHNHLnAXtPrdTa0a5UqPgqDZyODtS3pqN79i1ocfS3W6naFKY SGCbkCFi/eQlCyjtoNjQqQof3Lhx6rLWcCCLHj+Fj46XUfY/EDx5Qn3sXfiIxF5+mh CzM1vb01UJ3JcUVCB/o/ASYXXj3V/nzc1LFxwf8GnWogTKFbkT4kCTW91PdgcSTZjR LHraS8p5QWhTg== Date: Tue, 23 Aug 2022 04:43:32 +0000 From: Tzung-Bi Shih To: Prashant Malani Cc: linux-kernel@vger.kernel.org, chrome-platform@lists.linux.dev, bleung@chromium.org, Enric Balletbo i Serra , Guenter Roeck , Heikki Krogerus Subject: Re: [PATCH 2/4] platform/chrome: cros_ec_typec: Correct alt mode index Message-ID: References: <20220819190807.1275937-1-pmalani@chromium.org> <20220819190807.1275937-3-pmalani@chromium.org> Precedence: bulk X-Mailing-List: chrome-platform@lists.linux.dev List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20220819190807.1275937-3-pmalani@chromium.org> On Fri, Aug 19, 2022 at 07:08:03PM +0000, Prashant Malani wrote: > Alt mode indices used by USB PD (Power Delivery) start with 1, not 0. > > Update the alt mdoe registration code to factor this in to the alt mode > descriptor. > > Fixes: de0f49487db3 ("platform/chrome: cros_ec_typec: Register partner altmodes") > Signed-off-by: Prashant Malani I have no idea but use your judgment: Reviewed-by: Tzung-Bi Shih