Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

V4L/DVB: tm6000: tm6000_i2c_xfer: request labeling

labeling the request after tuner reading and writeing

Signed-off-by: Stefan Ringel <stefan.ringel@arcor.de>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>

authored by

Stefan Ringel and committed by
Mauro Carvalho Chehab
f1434f4e a41b2ea7

+4 -4
+4 -4
drivers/staging/tm6000/tm6000-i2c.c
··· 135 135 i++; 136 136 137 137 if (addr == dev->tuner_addr << 1) { 138 - tm6000_set_reg(dev, 0x32, 0,0); 139 - tm6000_set_reg(dev, 0x33, 0,0); 138 + tm6000_set_reg(dev, REQ_50_SET_START, 0, 0); 139 + tm6000_set_reg(dev, REQ_51_SET_STOP, 0, 0); 140 140 } 141 141 if (i2c_debug >= 2) 142 142 for (byte = 0; byte < msgs[i].len; byte++) ··· 150 150 msgs[i].buf + 1, msgs[i].len - 1); 151 151 152 152 if (addr == dev->tuner_addr << 1) { 153 - tm6000_set_reg(dev, 0x32, 0,0); 154 - tm6000_set_reg(dev, 0x33, 0,0); 153 + tm6000_set_reg(dev, REQ_50_SET_START, 0, 0); 154 + tm6000_set_reg(dev, REQ_51_SET_STOP, 0, 0); 155 155 } 156 156 } 157 157 if (i2c_debug >= 2)