Re: [PATCH 3/3] usb: typec: ucsi: Fix for incorrect status data issue

2018-06-26 Thread Heikki Krogerus
On Mon, Jun 25, 2018 at 10:54:27PM +0800, Greg Kroah-Hartman wrote: > On Mon, Jun 25, 2018 at 05:48:05PM +0300, Heikki Krogerus wrote: > > On Mon, Jun 25, 2018 at 08:37:25PM +0800, Greg Kroah-Hartman wrote: > > > On Thu, Jun 21, 2018 at 04:43:19PM +0300, Heikki Krogerus wrote: > > > > According to

Re: [PATCH 3/3] usb: typec: ucsi: Fix for incorrect status data issue

2018-06-25 Thread Greg Kroah-Hartman
On Mon, Jun 25, 2018 at 05:48:05PM +0300, Heikki Krogerus wrote: > On Mon, Jun 25, 2018 at 08:37:25PM +0800, Greg Kroah-Hartman wrote: > > On Thu, Jun 21, 2018 at 04:43:19PM +0300, Heikki Krogerus wrote: > > > According to UCSI Specification, Connector Change Event only > > > means a change in the

Re: [PATCH 3/3] usb: typec: ucsi: Fix for incorrect status data issue

2018-06-25 Thread Heikki Krogerus
On Mon, Jun 25, 2018 at 08:37:25PM +0800, Greg Kroah-Hartman wrote: > On Thu, Jun 21, 2018 at 04:43:19PM +0300, Heikki Krogerus wrote: > > According to UCSI Specification, Connector Change Event only > > means a change in the Connector Status and Operation Mode > > fields of the STATUS data

Re: [PATCH 3/3] usb: typec: ucsi: Fix for incorrect status data issue

2018-06-25 Thread Greg Kroah-Hartman
On Thu, Jun 21, 2018 at 04:43:19PM +0300, Heikki Krogerus wrote: > According to UCSI Specification, Connector Change Event only > means a change in the Connector Status and Operation Mode > fields of the STATUS data structure. So any other change > should create another event. > > Unfortunately

[PATCH 3/3] usb: typec: ucsi: Fix for incorrect status data issue

2018-06-21 Thread Heikki Krogerus
According to UCSI Specification, Connector Change Event only means a change in the Connector Status and Operation Mode fields of the STATUS data structure. So any other change should create another event. Unfortunately on some platforms the firmware acting as PPM (platform policy manager -