Commit 52f9fcb
committed
firewire: ohci: fix error path to detect initiated reset in TI TSB41BA3D phy
A commit 404957c ("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 <[email protected]>
Fixes: 80f3401 ("firewire: ohci: use guard macro to serialize accesses to phy registers")
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Takashi Sakamoto <[email protected]>1 parent e8b89bc commit 52f9fcb
1 file changed
+10
-5
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1919 | 1919 | | |
1920 | 1920 | | |
1921 | 1921 | | |
1922 | | - | |
| 1922 | + | |
1923 | 1923 | | |
1924 | 1924 | | |
1925 | 1925 | | |
| |||
1946 | 1946 | | |
1947 | 1947 | | |
1948 | 1948 | | |
1949 | | - | |
| 1949 | + | |
| 1950 | + | |
| 1951 | + | |
1950 | 1952 | | |
1951 | 1953 | | |
1952 | 1954 | | |
| |||
1956 | 1958 | | |
1957 | 1959 | | |
1958 | 1960 | | |
1959 | | - | |
| 1961 | + | |
| 1962 | + | |
1960 | 1963 | | |
1961 | 1964 | | |
1962 | 1965 | | |
| |||
1985 | 1988 | | |
1986 | 1989 | | |
1987 | 1990 | | |
1988 | | - | |
1989 | 1991 | | |
1990 | 1992 | | |
1991 | 1993 | | |
| |||
1994 | 1996 | | |
1995 | 1997 | | |
1996 | 1998 | | |
1997 | | - | |
| 1999 | + | |
| 2000 | + | |
| 2001 | + | |
| 2002 | + | |
1998 | 2003 | | |
1999 | 2004 | | |
2000 | 2005 | | |
| |||
0 commit comments