Commit cd115c0
driver core: fw_devlink: Consolidate device link flag computation
Consolidate the code that computes the flags to be used when creating a
device link from a fwnode link.
Fixes: 2de9d8e ("driver core: fw_devlink: Improve handling of cyclic dependencies")
Signed-off-by: Saravana Kannan <saravanak@google.com>
Tested-by: Colin Foster <colin.foster@in-advantage.com>
Tested-by: Sudeep Holla <sudeep.holla@arm.com>
Tested-by: Douglas Anderson <dianders@chromium.org>
Tested-by: Geert Uytterhoeven <geert+renesas@glider.be>
Tested-by: Luca Weiss <luca.weiss@fairphone.com> # qcom/sm7225-fairphone-fp4
Link: https://lore.kernel.org/r/20230207014207.1678715-8-saravanak@google.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>1 parent 6a6dfdf commit cd115c0
2 files changed
+15
-14
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1727 | 1727 | | |
1728 | 1728 | | |
1729 | 1729 | | |
1730 | | - | |
| 1730 | + | |
1731 | 1731 | | |
| 1732 | + | |
| 1733 | + | |
| 1734 | + | |
1732 | 1735 | | |
1733 | 1736 | | |
1734 | 1737 | | |
| |||
1938 | 1941 | | |
1939 | 1942 | | |
1940 | 1943 | | |
1941 | | - | |
| 1944 | + | |
1942 | 1945 | | |
1943 | 1946 | | |
1944 | 1947 | | |
| |||
1955 | 1958 | | |
1956 | 1959 | | |
1957 | 1960 | | |
1958 | | - | |
| 1961 | + | |
| 1962 | + | |
1959 | 1963 | | |
1960 | 1964 | | |
1961 | 1965 | | |
| 1966 | + | |
| 1967 | + | |
| 1968 | + | |
| 1969 | + | |
| 1970 | + | |
| 1971 | + | |
1962 | 1972 | | |
1963 | 1973 | | |
1964 | 1974 | | |
| |||
2091 | 2101 | | |
2092 | 2102 | | |
2093 | 2103 | | |
2094 | | - | |
2095 | 2104 | | |
2096 | 2105 | | |
2097 | 2106 | | |
| |||
2121 | 2130 | | |
2122 | 2131 | | |
2123 | 2132 | | |
2124 | | - | |
2125 | 2133 | | |
2126 | 2134 | | |
2127 | 2135 | | |
2128 | 2136 | | |
2129 | 2137 | | |
2130 | 2138 | | |
2131 | | - | |
| 2139 | + | |
2132 | 2140 | | |
2133 | 2141 | | |
2134 | 2142 | | |
| |||
2169 | 2177 | | |
2170 | 2178 | | |
2171 | 2179 | | |
2172 | | - | |
2173 | | - | |
2174 | | - | |
2175 | | - | |
2176 | | - | |
2177 | | - | |
2178 | 2180 | | |
2179 | 2181 | | |
2180 | 2182 | | |
2181 | 2183 | | |
2182 | 2184 | | |
2183 | 2185 | | |
2184 | | - | |
| 2186 | + | |
2185 | 2187 | | |
2186 | 2188 | | |
2187 | 2189 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
207 | 207 | | |
208 | 208 | | |
209 | 209 | | |
210 | | - | |
211 | 210 | | |
212 | 211 | | |
213 | 212 | | |
| |||
0 commit comments