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

2017-11-14 Thread Guenter Roeck
On Sun, Nov 12, 2017 at 04:23:16PM -0800, 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 v6] typec: tcpm: Validate source and sink caps

2017-11-12 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