Commit 03ddf0e
drm/modes: Handle reflect_[xy] in the middle of the cmd line
The command line parser was looking for an "=" before the ","
separator.
If the command line had reflect_[xy] before another option
which took a parameter, it would find the "=" from the second
option and assume it was associated with the reflect option,
generally leading to a parsing failure.
Handle this case by looking for both "," and "=", and taking
the first instance.
Signed-off-by: Dave Stevenson <[email protected]>1 parent 7b2fbee commit 03ddf0e
1 file changed
+6
-3
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2172 | 2172 | | |
2173 | 2173 | | |
2174 | 2174 | | |
| 2175 | + | |
2175 | 2176 | | |
2176 | 2177 | | |
2177 | | - | |
2178 | | - | |
2179 | | - | |
| 2178 | + | |
2180 | 2179 | | |
| 2180 | + | |
| 2181 | + | |
| 2182 | + | |
| 2183 | + | |
2181 | 2184 | | |
2182 | 2185 | | |
2183 | 2186 | | |
| |||
0 commit comments