diff options
author | Yuepeng Xing <xingyuepeng@eswincomputing.com> | 2022-12-02 14:23:07 +0800 |
---|---|---|
committer | Simon Glass <sjg@chromium.org> | 2023-01-05 19:21:56 -0700 |
commit | 7943ae241c099edc6d0cd7c4dd3c5ee18ecb24f7 (patch) | |
tree | f10d42fbd842b2d52ef06aa73ed42d9ca0d22361 /test/dm/gpio.c | |
parent | e0ddd895f66a401dd69f561e7960609d7730e5ec (diff) | |
download | u-boot-7943ae241c099edc6d0cd7c4dd3c5ee18ecb24f7.zip u-boot-7943ae241c099edc6d0cd7c4dd3c5ee18ecb24f7.tar.gz u-boot-7943ae241c099edc6d0cd7c4dd3c5ee18ecb24f7.tar.bz2 |
test:dm:fix typo
Fix typos in the 'test/dm' directory.
Signed-off-by: Yuepeng Xing <xingyuepeng@eswincomputing.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'test/dm/gpio.c')
-rw-r--r-- | test/dm/gpio.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/dm/gpio.c b/test/dm/gpio.c index a8c35d4..0d88ec2 100644 --- a/test/dm/gpio.c +++ b/test/dm/gpio.c @@ -348,7 +348,7 @@ static int dm_test_gpio_phandles(struct unit_test_state *uts) ut_asserteq(-ENOENT, gpio_request_by_name(dev, "test-gpios", 5, &desc, 0)); - /* Last GPIO is ignord as it comes after <0> */ + /* Last GPIO is ignored as it comes after <0> */ ut_asserteq(3, gpio_request_list_by_name(dev, "test-gpios", desc_list, ARRAY_SIZE(desc_list), 0)); ut_asserteq(-EBUSY, gpio_request_list_by_name(dev, "test-gpios", @@ -377,7 +377,7 @@ static int dm_test_gpio_phandles(struct unit_test_state *uts) ut_asserteq(6, gpio_request_list_by_name(dev, "test2-gpios", desc_list, ARRAY_SIZE(desc_list), 0)); - /* This was set to output previously but flags resetted to 0 = INPUT */ + /* This was set to output previously but flags reset to 0 = INPUT */ ut_asserteq(0, sandbox_gpio_get_flags(gpio_a, 1)); ut_asserteq(GPIOF_INPUT, gpio_get_function(gpio_a, 1, NULL)); |