diff options
author | Evoke Zhang <evoke.zhang@amlogic.com> | 2019-01-05 06:55:41 -0500 |
---|---|---|
committer | Dongjin Kim <tobetter@gmail.com> | 2019-05-16 13:15:18 +0900 |
commit | 7f5d323e8e823eea0871f946d307381fe4c7a12c (patch) | |
tree | 0769b0655eac70c759f7982821ab5c3695d97803 /common | |
parent | e74d95bf474f644d958a236b4832e3a3c07e6c0c (diff) | |
download | u-boot-odroid-c1-7f5d323e8e823eea0871f946d307381fe4c7a12c.tar.gz |
tvconfig: correct pixel_clk spelling mistake [1/2]
PD#SWPL-3910
Problem:
pixel_clk is wrong spelling as pixle_clk
Solution:
correct spelling to pixel_clk
Verify:
r311
Change-Id: Ica51d4f99d6ee8b5d28fcb9c2f98683c555d50b8
Signed-off-by: Evoke Zhang <evoke.zhang@amlogic.com>
Diffstat (limited to 'common')
-rw-r--r-- | common/ini/model.c | 18 | ||||
-rw-r--r-- | common/ini/model.h | 6 |
2 files changed, 12 insertions, 12 deletions
diff --git a/common/ini/model.c b/common/ini/model.c index 9e9320141e..b3b2a77817 100644 --- a/common/ini/model.c +++ b/common/ini/model.c @@ -232,9 +232,9 @@ static int handle_lcd_customer(struct lcd_attr_s *p_attr) ITEM_LOGD("%s, clk_auto_gen is (%s)\n", __func__, ini_value); p_attr->customer.clk_auto_gen = strtoul(ini_value, NULL, 0); - ini_value = IniGetString("lcd_Attr", "pixle_clk", "0"); - ITEM_LOGD("%s, pixle_clk is (%s)\n", __func__, ini_value); - p_attr->customer.pixle_clk = strtoul(ini_value, NULL, 0); + ini_value = IniGetString("lcd_Attr", "pixel_clk", "0"); + ITEM_LOGD("%s, pixel_clk is (%s)\n", __func__, ini_value); + p_attr->customer.pixel_clk = strtoul(ini_value, NULL, 0); ini_value = IniGetString("lcd_Attr", "h_period_min", "0"); ITEM_LOGD("%s, h_period_min is (%s)\n", __func__, ini_value); @@ -252,13 +252,13 @@ static int handle_lcd_customer(struct lcd_attr_s *p_attr) ITEM_LOGD("%s, v_period_max is (%s)\n", __func__, ini_value); p_attr->customer.v_period_max = strtoul(ini_value, NULL, 0); - ini_value = IniGetString("lcd_Attr", "pixle_clk_min", "0"); - ITEM_LOGD("%s, pixle_clk_min is (%s)\n", __func__, ini_value); - p_attr->customer.pixle_clk_min = strtoul(ini_value, NULL, 0); + ini_value = IniGetString("lcd_Attr", "pixel_clk_min", "0"); + ITEM_LOGD("%s, pixel_clk_min is (%s)\n", __func__, ini_value); + p_attr->customer.pixel_clk_min = strtoul(ini_value, NULL, 0); - ini_value = IniGetString("lcd_Attr", "pixle_clk_max", "0"); - ITEM_LOGD("%s, pixle_clk_max is (%s)\n", __func__, ini_value); - p_attr->customer.pixle_clk_max = strtoul(ini_value, NULL, 0); + ini_value = IniGetString("lcd_Attr", "pixel_clk_max", "0"); + ITEM_LOGD("%s, pixel_clk_max is (%s)\n", __func__, ini_value); + p_attr->customer.pixel_clk_max = strtoul(ini_value, NULL, 0); ini_value = IniGetString("lcd_Attr", "vlock_val_0", "0"); ITEM_LOGD("%s, vlock_val_0 is (%s)\n", __func__, ini_value); diff --git a/common/ini/model.h b/common/ini/model.h index 2fef1b34b0..e9d0f0fa02 100644 --- a/common/ini/model.h +++ b/common/ini/model.h @@ -102,13 +102,13 @@ struct lcd_customer_s { unsigned char fr_adjust_type; unsigned char ss_level; unsigned char clk_auto_gen; - unsigned int pixle_clk; + unsigned int pixel_clk; unsigned short h_period_min; unsigned short h_period_max; unsigned short v_period_min; unsigned short v_period_max; - unsigned int pixle_clk_min; - unsigned int pixle_clk_max; + unsigned int pixel_clk_min; + unsigned int pixel_clk_max; unsigned char vlock_val_0; unsigned char vlock_val_1; unsigned char vlock_val_2; |