android_kernel_xiaomi_sm8350/drivers/media/dvb
David Härdeman ecba77f246 V4L/DVB (4785): Budget-ci: Change DEBIADDR_IR to a safer default
The IR chip has no address decoding, so the IR data is always present in 
the high byte when doing a read from the saa7146 chip. This means that 
the DEBI address used is irrelevant to the IR decoding logic.
DEBI addresses 0x1XXX are mapped to the registers on the CI module 
itself, but only the lowest two bits are actually used (see EN50221, 
section A.2.2.1), meaning that 0x1234 is equivalent to 0x1000 which maps 
to register 0 (the data register). A read from the data register is 
supposed to be preceded by a read from the size register, so some CI 
modules will be confused (the AlphaCrypt CAM will hang completely).
The attached patch changes the address used when reading the IR data to 
use 0x4000 instead. This is the CI version address, which is a safer 
default, works with the AlphaCrypt CAM and matches the behaviour of the 
Windows driver (AFAIK).

Signed-off-by: David Härdeman <david@hardeman.nu>
Signed-off-by: Oliver Endriss <o.endriss@gmx.de>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
2006-11-02 23:58:06 -03:00
..
b2c2 IRQ: Maintain regs pointer globally rather than passing to IRQ handlers 2006-10-05 15:10:12 +01:00
bt8xx V4L/DVB (4738): Bt8xx/dvb-bt8xx.c: check kmalloc() return value. 2006-10-14 00:44:08 -03:00
cinergyT2 IRQ: Maintain regs pointer globally rather than passing to IRQ handlers 2006-10-05 15:10:12 +01:00
dvb-core V4L/DVB (4732): Fix spelling error in Kconfig help text for DVB_CORE_ATTACH 2006-10-14 00:44:00 -03:00
dvb-usb V4L/DVB (4752): DVB: Add DVB_FE_CUSTOMISE support for MT2060 2006-11-02 23:58:04 -03:00
frontends V4L/DVB (4752): DVB: Add DVB_FE_CUSTOMISE support for MT2060 2006-11-02 23:58:04 -03:00
pluto2 IRQ: Maintain regs pointer globally rather than passing to IRQ handlers 2006-10-05 15:10:12 +01:00
ttpci V4L/DVB (4785): Budget-ci: Change DEBIADDR_IR to a safer default 2006-11-02 23:58:06 -03:00
ttusb-budget IRQ: Maintain regs pointer globally rather than passing to IRQ handlers 2006-10-05 15:10:12 +01:00
ttusb-dec IRQ: Maintain regs pointer globally rather than passing to IRQ handlers 2006-10-05 15:10:12 +01:00
Kconfig V4L/DVB (4037): Make the bridge devices that depend on I2C dependant on I2C 2006-05-23 15:56:38 -03:00
Makefile