android_kernel_xiaomi_sm8350/drivers/media/dvb/firewire
Clemens Ladisch db5d247ae8 firewire: fix use of multiple AV/C devices, allow multiple FCP listeners
Control of more than one AV/C device at once --- e.g. camcorders, tape
decks, audio devices, TV tuners --- failed or worked only unreliably,
depending on driver implementation.  This affected kernelspace and
userspace drivers alike and was caused by firewire-core's inability to
accept multiple registrations of FCP listeners.

The fix allows multiple address handlers to be registered for the FCP
command and response registers.  When a request for these registers is
received, all handlers are invoked, and the Firewire response is
generated by the core and not by any handler.

The cdev API does not change, i.e., userspace is still expected to send
a response for FCP requests; this response is silently ignored.

Signed-off-by: Clemens Ladisch <clemens@ladisch.de>
Signed-off-by: Stefan Richter <stefanr@s5r6.in-berlin.de> (changelog, rebased, whitespace)
2009-12-29 19:58:16 +01:00
..
firedtv-1394.c V4L/DVB (13410): firedtv: remove an unnecessary function argument 2009-12-05 18:41:44 -02:00
firedtv-avc.c V4L/DVB (13410): firedtv: remove an unnecessary function argument 2009-12-05 18:41:44 -02:00
firedtv-ci.c const: constify remaining file_operations 2009-10-01 16:11:11 -07:00
firedtv-dvb.c V4L/DVB (13400): firedtv: port to new firewire core 2009-12-05 18:41:42 -02:00
firedtv-fe.c V4L/DVB (13240): firedtv: fix regression: tuning fails due to bogus error return 2009-11-07 12:55:11 -02:00
firedtv-fw.c firewire: fix use of multiple AV/C devices, allow multiple FCP listeners 2009-12-29 19:58:16 +01:00
firedtv-rc.c V4L/DVB (13397): firedtv: move remote control workqueue handling into rc source file 2009-12-05 18:41:41 -02:00
firedtv.h V4L/DVB (13410): firedtv: remove an unnecessary function argument 2009-12-05 18:41:44 -02:00
Kconfig V4L/DVB (13400): firedtv: port to new firewire core 2009-12-05 18:41:42 -02:00
Makefile V4L/DVB (13400): firedtv: port to new firewire core 2009-12-05 18:41:42 -02:00