]> www.infradead.org Git - users/dwmw2/linux.git/commit
firewire: ohci: fix error path to detect initiated reset in TI TSB41BA3D phy
authorTakashi Sakamoto <o-takashi@sakamocchi.jp>
Sat, 17 Aug 2024 09:11:28 +0000 (18:11 +0900)
committerTakashi Sakamoto <o-takashi@sakamocchi.jp>
Sat, 17 Aug 2024 09:11:28 +0000 (18:11 +0900)
commit52f9fcbc7b11b305306c879fcc545d075066bee0
treec48fa39d5dfa2dbe86219ff1c1cce5e411e0d0ef
parente8b89bc158199b60f3ae6c655ced4461c42d650b
firewire: ohci: fix error path to detect initiated reset in TI TSB41BA3D phy

A commit 404957c1e207 ("firewire: ohci: use guard macro to serialize
accesses to phy registers") refactored initiated_reset() helper function,
while the error path was changed wrongly.

This commit fixes the bug.

Reported-by: Dan Carpenter <dan.carpenter@linaro.org>
Fixes: 80f3401dfeb2 ("firewire: ohci: use guard macro to serialize accesses to phy registers")
Link: https://lore.kernel.org/r/20240817091128.180303-1-o-takashi@sakamocchi.jp
Signed-off-by: Takashi Sakamoto <o-takashi@sakamocchi.jp>
drivers/firewire/ohci.c