[PATCH v2 3/4] drm/dp/mst: Clear port->pdt when tearing down the i2c adapter

2016-10-26 Thread Daniel Vetter
On Wed, Oct 26, 2016 at 04:02:57PM +0200, Daniel Vetter wrote: > On Wed, Oct 26, 2016 at 04:35:50PM +0300, Ville Syrjälä wrote: > > On Wed, Oct 26, 2016 at 04:30:33PM +0300, ville.syrjala at linux.intel.com > > wrote: > > > From: Ville Syrjälä > > > > > > The i2c adapter is only relevant

[PATCH v2 3/4] drm/dp/mst: Clear port->pdt when tearing down the i2c adapter

2016-10-26 Thread Ville Syrjälä
On Wed, Oct 26, 2016 at 04:30:33PM +0300, ville.syrjala at linux.intel.com wrote: > From: Ville Syrjälä > > The i2c adapter is only relevant for some peer device types, so > let's clear the pdt if it's still the same as the old_pdt when we > tear down the i2c adapter. > > I don't really like

[PATCH v2 3/4] drm/dp/mst: Clear port->pdt when tearing down the i2c adapter

2016-10-26 Thread ville.syrj...@linux.intel.com
From: Ville Syrjälä The i2c adapter is only relevant for some peer device types, so let's clear the pdt if it's still the same as the old_pdt when we tear down the i2c adapter. I don't really like this design pattern of updating port->whatever before doing the

[PATCH v2 3/4] drm/dp/mst: Clear port->pdt when tearing down the i2c adapter

2016-10-26 Thread Daniel Vetter
On Wed, Oct 26, 2016 at 04:35:50PM +0300, Ville Syrjälä wrote: > On Wed, Oct 26, 2016 at 04:30:33PM +0300, ville.syrjala at linux.intel.com > wrote: > > From: Ville Syrjälä > > > > The i2c adapter is only relevant for some peer device types, so > > let's clear the pdt if it's still the same