Re: [PATCH] drm/tegra: Use i2c_put_adapter() instead of put_device()

2020-04-08 Thread Sam Ravnborg
Hi Thierry On Wed, Apr 08, 2020 at 08:02:44PM +0200, Thierry Reding wrote: > From: Thierry Reding > > In order to properly release the I2C adapter used for DDC/CI, use the > i2c_put_adapter() function provided by the I2C subsystem rather than the > put_device() function which doesn't include cod

[PATCH] drm/tegra: Use i2c_put_adapter() instead of put_device()

2020-04-08 Thread Thierry Reding
From: Thierry Reding In order to properly release the I2C adapter used for DDC/CI, use the i2c_put_adapter() function provided by the I2C subsystem rather than the put_device() function which doesn't include code to drop a reference to the adapter's owner module. Signed-off-by: Thierry Reding -