diff options
author | Maxime Ripard <[email protected]> | 2022-09-29 18:31:06 +0200 |
---|---|---|
committer | Maxime Ripard <[email protected]> | 2022-10-10 13:58:43 +0200 |
commit | 90c258ba4a36f610302cdea6ff3b4e1a0811f50e (patch) | |
tree | 104d0ff6de35bf28d1d2e79085d988b9dd04fd60 /lib/netdev-notifier-error-inject.c | |
parent | 941731a2684251e8854366c75df19185f586c784 (diff) |
drm/modes: Only consider bpp and refresh before options
Some video= options might have a value that contains a dash. However, the
command line parsing mode considers all dashes as the separator between the
mode and the bpp count.
Let's rework the parsing code a bit to only consider a dash as the bpp
separator if it before a comma, the options separator.
A follow-up patch will add a unit-test for this once such an option is
introduced.
Reviewed-by: Geert Uytterhoeven <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Maxime Ripard <[email protected]>
Diffstat (limited to 'lib/netdev-notifier-error-inject.c')
0 files changed, 0 insertions, 0 deletions