summaryrefslogtreecommitdiffstats
path: root/drivers/media/dvb-frontends
diff options
context:
space:
mode:
authorDevin Heitmueller2017-04-20 01:13:45 +0200
committerMauro Carvalho Chehab2017-06-06 12:46:37 +0200
commitbb750c7b4cecd6c9d12f41cb71e301141bad8835 (patch)
tree2f56e92ca0ead7bfb7c2e41f2c5c95f8a52cbd88 /drivers/media/dvb-frontends
parent[media] au8522: don't attempt to configure unsupported VBI slicer (diff)
downloadkernel-qcow2-linux-bb750c7b4cecd6c9d12f41cb71e301141bad8835.tar.gz
kernel-qcow2-linux-bb750c7b4cecd6c9d12f41cb71e301141bad8835.tar.xz
kernel-qcow2-linux-bb750c7b4cecd6c9d12f41cb71e301141bad8835.zip
[media] au8522: don't touch i2c master registers on au8522
Some stray lines got inserted into the driver when I reverse engineered the I2C traffic (at the time I didn't know what the registers did). It turns up these registers muck with the onboard I2C master, which we don't use since we instead use the I2C gate. Remove the lines which can actually interfere with the operation of the bus. Signed-off-by: Devin Heitmueller <dheitmueller@kernellabs.com> Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
Diffstat (limited to 'drivers/media/dvb-frontends')
-rw-r--r--drivers/media/dvb-frontends/au8522_decoder.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/media/dvb-frontends/au8522_decoder.c b/drivers/media/dvb-frontends/au8522_decoder.c
index 12a5c2ca7871..78117178f532 100644
--- a/drivers/media/dvb-frontends/au8522_decoder.c
+++ b/drivers/media/dvb-frontends/au8522_decoder.c
@@ -422,8 +422,6 @@ static void set_audio_input(struct au8522_state *state)
au8522_writereg(state, AU8522_AUDIO_VOLUME_L_REG0F2H, 0x00);
au8522_writereg(state, AU8522_AUDIO_VOLUME_R_REG0F3H, 0x00);
au8522_writereg(state, AU8522_AUDIO_VOLUME_REG0F4H, 0x00);
- au8522_writereg(state, AU8522_I2C_CONTROL_REG1_REG091H, 0x80);
- au8522_writereg(state, AU8522_I2C_CONTROL_REG0_REG090H, 0x84);
msleep(150);
au8522_writereg(state, AU8522_SYSTEM_MODULE_CONTROL_0_REG0A4H, 0x00);
msleep(10);