From: Jean-Francois Moine Date: Sat, 25 Jan 2014 17:14:42 +0000 (+0100) Subject: drm/i2c: tda998x: don't read write-only registers X-Git-Tag: v3.15-rc1~51^2~61^2~9 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=81b53a166f5cdf4e5bec47fc8884c994de82dc6b;p=pandora-kernel.git drm/i2c: tda998x: don't read write-only registers This patch takes care of the write-only registers of the tda998x. The registers SOFTRESET, TBG_CNTRL_0 and TBG_CNTRL_1 have all bits cleared after reset, so, they may be fully re-written. The register MAT_CONTRL is set to MAT_CONTRL_MAT_BP | MAT_CONTRL_MAT_SC(1) after reset, so, it may be fully set again to this value. Tested-by: Russell King Acked-by: Russell King Signed-off-by: Jean-Francois Moine Signed-off-by: Russell King --- Reading git-diff-tree failed