Re: [PATCH] firewire: ohci: fix error path to detect initiated reset in TI TSB41BA3D phy
From: Takashi Sakamoto
Date: Sat Aug 17 2024 - 21:48:54 EST
On Sat, Aug 17, 2024 at 06:11:28PM +0900, Takashi Sakamoto wrote:
> 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@xxxxxxxxxx>
> Fixes: 404957c1e207 ("firewire: ohci: use guard macro to serialize accesses to phy registers")
> Signed-off-by: Takashi Sakamoto <o-takashi@xxxxxxxxxxxxx>
> ---
> drivers/firewire/ohci.c | 15 ++++++++++-----
> 1 file changed, 10 insertions(+), 5 deletions(-)
Applied to for-next branch.
Regards
Takashi Sakamoto