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 7FC21A3D for ; Tue, 23 Aug 2022 04:43:45 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 06E94C433D6; Tue, 23 Aug 2022 04:43:43 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1661229825; bh=6Vyw8BYGrG+iktjczxYnN1/G60ET433IyUoR2MBCNBE=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=LNTsxqll+R6yY0S7tCQr/Kxqed6UWnDJYVfhVvDbsX0yMoiH6ah7df0wllncVZ4eg ctarixg+tZLp8nb1mDi5IMHzVD+YTIqoB5kR/JDDoISMxOlRTbv7TTAvpzEUImWoao OlsBU46G9tgQ6ioGloRAl8wQVIaIT8XFo8l/Y/Vnn4WtJMnv7M/aRMhxaoUIQn6udn hg4h9pQOZJDWBoJsfeQtUw6PD8tt6I4AV9rC+ARZ4YNxKaU/fsr6bjVtaSBS3LXbbo bVJDaacXqxEOOSUd5LzJz9x9NmOrGpXX5qXZmwWa2BzWQ4t4ohFTFCj9Jrd+dMVw6N Jtf7V+DqwggOA== Date: Tue, 23 Aug 2022 04:43:41 +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 3/4] platform/chrome: cros_ec_typec: Stash port driver info Message-ID: References: <20220819190807.1275937-1-pmalani@chromium.org> <20220819190807.1275937-4-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-4-pmalani@chromium.org> On Fri, Aug 19, 2022 at 07:08:04PM +0000, Prashant Malani wrote: > Stash port number and a pointer to the driver-specific struct in the > local Type-C port struct. > > These can be useful to the port driver to figure out how to communicate > with the ChromeOS EC when an altmode driver related callback is invoked > from the Type-C class code. The patch looks good to me. But I would suggest to send it in later series that uses the driver-specific struct (e.g. in altmode driver related callbacks) to make the usage clear.