Skip to content

Commit

Permalink
gpio: sch: fix typo in a comment
Browse files Browse the repository at this point in the history
The double `the' in the comment in line 142 is repeated. Remove one
of them from the comment.

Signed-off-by: Jason Wang <[email protected]>
Signed-off-by: Andy Shevchenko <[email protected]>
  • Loading branch information
Jason Wang authored and andy-shev committed Dec 13, 2021
1 parent e161043 commit 9d5f0f6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/gpio/gpio-sch.c
Original file line number Diff line number Diff line change
Expand Up @@ -139,7 +139,7 @@ static int sch_gpio_direction_out(struct gpio_chip *gc, unsigned int gpio_num,
/*
* according to the datasheet, writing to the level register has no
* effect when GPIO is programmed as input.
* Actually the the level register is read-only when configured as input.
* Actually the level register is read-only when configured as input.
* Thus presetting the output level before switching to output is _NOT_ possible.
* Hence we set the level after configuring the GPIO as output.
* But we cannot prevent a short low pulse if direction is set to high
Expand Down

0 comments on commit 9d5f0f6

Please sign in to comment.