]> git.ipfire.org Git - thirdparty/linux.git/commit
firewire: core: determine transaction speed after detecting quirks
authorTakashi Sakamoto <o-takashi@sakamocchi.jp>
Sat, 18 Oct 2025 03:55:30 +0000 (12:55 +0900)
committerTakashi Sakamoto <o-takashi@sakamocchi.jp>
Sat, 18 Oct 2025 03:58:55 +0000 (12:58 +0900)
commit55b4e903a156bc81e15fbe3af9be0664f7a3b3ca
tree24a25c34e290791a98d6d53e16c20b1089035704
parent665ad59b891a98e7bbd50720cc30289c5c253272
firewire: core: determine transaction speed after detecting quirks

Current implementation determines the maximum transaction speed supported
by the target device after reading bus information block of configuration
ROM. The read operations for root directory block are then performed at
the determined speed. However, some devices have quirks that cause issues
when transactions are performed at the determined speed.

In the first place, all devices are required to support the lowest speed
(S100) and must respond successfully to any read request within the
configuration ROM space. Therefore it is safe to postpone speed
determination until the entire configuration ROM has been read.

This commit moves the speed determination after reading root directory.

Link: https://lore.kernel.org/r/20251018035532.287124-3-o-takashi@sakamocchi.jp
Signed-off-by: Takashi Sakamoto <o-takashi@sakamocchi.jp>
drivers/firewire/core-device.c