[PATCH/RESEND 1/9] drm/i2c: tda998x: move drm_i2c_encoder_destroy call

2014-06-25 Thread Guido Martínez
Hi Russell, On Tue, Jun 24, 2014 at 05:38:13PM +0100, Russell King - ARM Linux wrote: > On Tue, Jun 17, 2014 at 11:17:03AM -0300, Guido Mart?nez wrote: > > Currently tda998x_encoder_destroy() calls cec_write() and reg_clear(), > > as part of the release procedure. Such calls need to access the I2C

[PATCH/RESEND 1/9] drm/i2c: tda998x: move drm_i2c_encoder_destroy call

2014-06-24 Thread Russell King - ARM Linux
On Tue, Jun 17, 2014 at 11:17:03AM -0300, Guido Mart?nez wrote: > Currently tda998x_encoder_destroy() calls cec_write() and reg_clear(), > as part of the release procedure. Such calls need to access the I2C bus > and therefore, we need to call them before drm_i2c_encoder_destroy() > which unregiste

[PATCH/RESEND 1/9] drm/i2c: tda998x: move drm_i2c_encoder_destroy call

2014-06-17 Thread Guido Martínez
Currently tda998x_encoder_destroy() calls cec_write() and reg_clear(), as part of the release procedure. Such calls need to access the I2C bus and therefore, we need to call them before drm_i2c_encoder_destroy() which unregisters the I2C device. This commit moves the latter so it's done afterwards