From 8fb7288c5e7ccc6ea542acfc2aad666b68990550 Mon Sep 17 00:00:00 2001 From: Vicent Chi Date: Fri, 26 Mar 2021 10:01:46 +0800 Subject: [PATCH] media: i2c: nvp6188: fixup default fps info not match Change-Id: Id25d580c8540c88d48402ee356e00bafbf4a7115 Signed-off-by: Vicent Chi --- drivers/media/i2c/nvp6188.c | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/drivers/media/i2c/nvp6188.c b/drivers/media/i2c/nvp6188.c index aa55c494089c..13f9a0e92248 100644 --- a/drivers/media/i2c/nvp6188.c +++ b/drivers/media/i2c/nvp6188.c @@ -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; } } }