Commit c2eb9e7f authored by Alexandre Belloni's avatar Alexandre Belloni Committed by Linus Walleij

pinctrl: at91: correct a few typos

Signed-off-by: default avatarAlexandre Belloni <alexandre.belloni@free-electrons.com>
Signed-off-by: default avatarLinus Walleij <linus.walleij@linaro.org>
parent daa706de
...@@ -118,7 +118,7 @@ struct at91_pin_group { ...@@ -118,7 +118,7 @@ struct at91_pin_group {
}; };
/** /**
* struct at91_pinctrl_mux_ops - describes an At91 mux ops group * struct at91_pinctrl_mux_ops - describes an AT91 mux ops group
* on new IP with support for periph C and D the way to mux in * on new IP with support for periph C and D the way to mux in
* periph A and B has changed * periph A and B has changed
* So provide the right call back * So provide the right call back
...@@ -1396,7 +1396,7 @@ static void gpio_irq_handler(unsigned irq, struct irq_desc *desc) ...@@ -1396,7 +1396,7 @@ static void gpio_irq_handler(unsigned irq, struct irq_desc *desc)
chained_irq_enter(chip, desc); chained_irq_enter(chip, desc);
for (;;) { for (;;) {
/* Reading ISR acks pending (edge triggered) GPIO interrupts. /* Reading ISR acks pending (edge triggered) GPIO interrupts.
* When there none are pending, we're finished unless we need * When there are none pending, we're finished unless we need
* to process multiple banks (like ID_PIOCDE on sam9263). * to process multiple banks (like ID_PIOCDE on sam9263).
*/ */
isr = readl_relaxed(pio + PIO_ISR) & readl_relaxed(pio + PIO_IMR); isr = readl_relaxed(pio + PIO_ISR) & readl_relaxed(pio + PIO_IMR);
...@@ -1505,7 +1505,7 @@ static int at91_gpio_of_irq_setup(struct device_node *node, ...@@ -1505,7 +1505,7 @@ static int at91_gpio_of_irq_setup(struct device_node *node,
prev = gpio_chips[at91_gpio->pioc_idx - 1]; prev = gpio_chips[at91_gpio->pioc_idx - 1];
/* The top level handler handles one bank of GPIOs, except /* The top level handler handles one bank of GPIOs, except
* on some SoC it can handles up to three... * on some SoC it can handle up to three...
* We only set up the handler for the first of the list. * We only set up the handler for the first of the list.
*/ */
if (prev && prev->next == at91_gpio) if (prev && prev->next == at91_gpio)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment