Re: [PATCH 1/2 v5] typec: tcpm: Validate source and sink caps

2017-11-12 Thread Badhri Jagan Sridharan
Thanks Heikki ! I am making another version addressing your nits as well. Guenter, Are you fine with the patch as well ? Regards, Badhri On Tue, Nov 7, 2017 at 3:00 AM, Heikki Krogerus wrote: > On Sat, Nov 04, 2017 at 12:22:12PM -0700, Badhri Jagan Sridharan wrote: >> The source and sink caps s

Re: [PATCH 1/2 v5] typec: tcpm: Validate source and sink caps

2017-11-07 Thread Heikki Krogerus
On Sat, Nov 04, 2017 at 12:22:12PM -0700, Badhri Jagan Sridharan wrote: > The source and sink caps should follow the following rules. > This patch validates whether the src_caps/snk_caps adheres > to it. > > 6.4.1 Capabilities Message > A Capabilities message (Source Capabilities message or Sink >

[PATCH 1/2 v5] typec: tcpm: Validate source and sink caps

2017-11-04 Thread Badhri Jagan Sridharan
The source and sink caps should follow the following rules. This patch validates whether the src_caps/snk_caps adheres to it. 6.4.1 Capabilities Message A Capabilities message (Source Capabilities message or Sink Capabilities message) shall have at least one Power Data Object for vSafe5V. The Capa