Messages in this thread | | | Date | Tue, 23 Aug 2022 04:43:41 +0000 | From | Tzung-Bi Shih <> | Subject | Re: [PATCH 3/4] platform/chrome: cros_ec_typec: Stash port driver info |
| |
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.
| |