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: Damien Lespiau <damien.lespiau@intel.com>
Reviewed-by: Rodrigo Vivi <rodrigo.vivi@gmail.com>
Signed-off-by: Dave Airlie <airlied@redhat.com>
This commit is contained in:
Damien Lespiau 2013-05-08 17:03:30 +01:00 committed by Dave Airlie
parent f3c58ceef0
commit 97fbfbf40b
1 changed files with 1 additions and 0 deletions

View File

@ -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;