Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 97fbfbf4 authored by Damien Lespiau's avatar Damien Lespiau Committed by Dave Airlie
Browse files

drm: Add missing break in the command line mode parsing code



As we parse the string given on the command line one char at a time, it
seems that we do want a break at every case.

Signed-off-by: default avatarDamien Lespiau <damien.lespiau@intel.com>
Reviewed-by: default avatarRodrigo Vivi <rodrigo.vivi@gmail.com>
Signed-off-by: default avatarDave Airlie <airlied@redhat.com>
parent f3c58cee
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -1143,6 +1143,7 @@ bool drm_mode_parse_command_line_for_connector(const char *mode_option,
				was_digit = false;
			} else
				goto done;
			break;
		case '0' ... '9':
			was_digit = true;
			break;