mirror of
https://github.com/hardkernel/linux.git
synced 2026-06-08 03:40:35 +09:00
ODROID-N2: vout: update current vout mode string
Change-Id: I19584a9dedfcf66a7ad2efbdcfddd9b5218add70
This commit is contained in:
@@ -878,6 +878,13 @@ static int refresh_tvout_mode(void)
|
||||
cur_vmode = validate_vmode(cvbsmode);
|
||||
snprintf(cur_mode_str, VMODE_NAME_LEN_MAX, "%s", cvbsmode);
|
||||
}
|
||||
|
||||
/* update current vout mode string */
|
||||
memset(local_name, 0, sizeof(local_name));
|
||||
strncpy(local_name, cur_mode_str, VMODE_NAME_LEN_MAX);
|
||||
|
||||
strncpy(vout_mode, cur_mode_str, VMODE_NAME_LEN_MAX);
|
||||
|
||||
if (cur_vmode >= VMODE_MAX) {
|
||||
#if defined(CONFIG_ARCH_MESON64_ODROID_COMMON)
|
||||
VOUTERR("%s: no matched vmode: %s, force to set 1080p60hz\n",
|
||||
|
||||
Reference in New Issue
Block a user