[PATCH v2 9/28] drm/i2c: tda998x: don't read write-only registers

2014-01-11 Thread Russell King - ARM Linux
On Thu, Jan 09, 2014 at 11:59:41AM +0100, Jean-Francois Moine wrote: > @@ -936,10 +926,22 @@ tda998x_encoder_mode_set(struct drm_encoder *encoder, > /* must be last register set: */ > reg_clear(priv, REG_TBG_CNTRL_0, TBG_CNTRL_0_SYNC_ONCE); > > + /* > + * Always generate

[PATCH v2 9/28] drm/i2c: tda998x: don't read write-only registers

2014-01-11 Thread Russell King - ARM Linux
On Thu, Jan 09, 2014 at 11:59:41AM +0100, Jean-Francois Moine wrote: > This patch takes care of the write-only registers of the tda998x. > > Signed-off-by: Jean-Francois Moine It would be worth commenting that where bit settings are unknown, they are taken from the default values in the

[PATCH v2 9/28] drm/i2c: tda998x: don't read write-only registers

2014-01-09 Thread Jean-Francois Moine
This patch takes care of the write-only registers of the tda998x. Signed-off-by: Jean-Francois Moine --- drivers/gpu/drm/i2c/tda998x_drv.c | 44 +++--- 1 file changed, 23 insertions(+), 21 deletions(-) diff --git a/drivers/gpu/drm/i2c/tda998x_drv.c