media: i2c: nvp6188: fixup default fps info not match

Change-Id: Id25d580c8540c88d48402ee356e00bafbf4a7115
Signed-off-by: Vicent Chi <vicent.chi@rock-chips.com>
This commit is contained in:
Vicent Chi
2021-03-26 10:01:46 +08:00
parent cecd44d545
commit 8fb7288c5e

View File

@@ -1123,17 +1123,17 @@ static void nvp6188_get_vc_fmt_inf(struct nvp6188 *nvp6188,
inf->height[ch] = 720;
inf->fps[ch] = 30;
break;
case NVP_RESO_1080P_PAL_VALUE:
inf->width[ch] = 1920;
inf->height[ch] = 1080;
inf->fps[ch] = 25;
break;
case NVP_RESO_1080P_NSTC_VALUE:
default:
inf->width[ch] = 1920;
inf->height[ch] = 1080;
inf->fps[ch] = 30;
break;
case NVP_RESO_1080P_PAL_VALUE:
default:
inf->width[ch] = 1920;
inf->height[ch] = 1080;
inf->fps[ch] = 25;
break;
}
}
}