android_kernel_xiaomi_sm8350/drivers/ieee1394
Philippe De Muyter a6ca4f7081 ieee1394: limit early node speed to host interface speed
The following patch limits the node speed to the host interface speed,
before using it.

Signed-off-by: Philippe De Muyter <phdm@macqel.be>

It should actually suffice to do this only for the local node's
speedcap[].  But there is another bug in the speed calculation:
The local node's speed is not correctly propagated to the speeds
which are to be used to access remote nodes.
http://thread.gmane.org/gmane.linux.kernel.firewire.devel/11772/focus=12024

Signed-off-by: Stefan Richter <stefanr@s5r6.in-berlin.de>
2008-04-18 17:55:31 +02:00
..
config_roms.c
config_roms.h
csr1212.c
csr1212.h
csr.c ieee1394: be*_add_cpu conversion 2008-04-18 17:55:29 +02:00
csr.h
dma.c
dma.h
dv1394-private.h
dv1394.c ieee1394: Remove superfluous calls to kobject_set_name(). 2008-04-18 17:55:31 +02:00
dv1394.h
eth1394.c
eth1394.h
highlevel.c ieee1394: replace remaining __FUNCTION__ occurrences 2008-04-18 17:55:30 +02:00
highlevel.h
hosts.c
hosts.h
ieee1394_core.c ieee1394: limit early node speed to host interface speed 2008-04-18 17:55:31 +02:00
ieee1394_core.h
ieee1394_hotplug.h
ieee1394_transactions.c
ieee1394_transactions.h
ieee1394_types.h
ieee1394-ioctl.h
ieee1394.h
init_ohci1394_dma.c
iso.c
iso.h
Kconfig
Makefile
nodemgr.c ieee1394: prevent device binding of raw1394, video1394, dv1394 2008-04-18 17:55:29 +02:00
nodemgr.h
ohci1394.c ieee1394: ohci1394: missing PPC PMac feature calls in failure path 2008-04-18 17:55:31 +02:00
ohci1394.h
pcilynx.c ieee1394: Use shorter list_splice_init() for brevity. 2008-04-18 17:55:30 +02:00
pcilynx.h
raw1394-private.h
raw1394.c ieee1394: Remove superfluous calls to kobject_set_name(). 2008-04-18 17:55:31 +02:00
raw1394.h
sbp2.c ieee1394: replace remaining __FUNCTION__ occurrences 2008-04-18 17:55:30 +02:00
sbp2.h
video1394.c ieee1394: Remove superfluous calls to kobject_set_name(). 2008-04-18 17:55:31 +02:00
video1394.h