Pull gpio fixes from Bartosz Golaszewski: - fix kerneldocs for gpio-timberdale and gpio-nomadik - clear the "requested" flag in error path in gpiod_request_commit() - call of_xlate() if provided when setting up shared GPIOs - handle pins shared by child firmware nodes of consumer devices - fix return value check in gpio-qixis-fpga - fix suspend on gpio-mxc - fix gpio-microchip DT bindings * tag 'gpio-fixes-for-v7.0-rc7' of git://git.kernel.org/pub/scm/linux/kernel/git/brgl/linux: dt-bindings: gpio: fix microchip #interrupt-cells gpio: shared: shorten the critical section in gpiochip_setup_shared() gpio: mxc: map Both Edge pad wakeup to Rising Edge gpio: qixis-fpga: Fix error handling for devm_regmap_init_mmio() gpio: shared: handle pins shared by child nodes of devices gpio: shared: call gpio_chip::of_xlate() if set gpiolib: clear requested flag if line is invalid gpio: nomadik: repair some kernel-doc comments gpio: timberdale: repair kernel-doc comments gpio: Fix resource leaks on errors in gpiochip_add_data_with_key()
Showing the changes to include (2 of 8 files). Show all
Unified · Split
| @@ -114,8 +114,7 @@ struct nmk_gpio_chip { · 113 unmodified lines | ||
| 114 | 114 | } |
| 115 | 115 | |
| 116 | 116 | /** |
| 117 | − * enum prcm_gpiocr_reg_index | |
| 118 | − * Used to reference an PRCM GPIOCR register address. | |
| 117 | + * enum prcm_gpiocr_reg_index - Used to reference a PRCM GPIOCR register address. | |
| 119 | 118 | */ |
| 120 | 119 | enum prcm_gpiocr_reg_index { |
| 121 | 120 | PRCM_IDX_GPIOCR1, |
| @@ -123,8 +122,7 @@ enum prcm_gpiocr_reg_index { · 1 unmodified line | ||
| 123 | 122 | PRCM_IDX_GPIOCR3 |
| 124 | 123 | }; |
| 125 | 124 | /** |
| 126 | − * enum prcm_gpiocr_altcx_index | |
| 127 | − * Used to reference an Other alternate-C function. | |
| 125 | + * enum prcm_gpiocr_altcx_index - Used to reference an Other alternate-C function. | |
| 128 | 126 | */ |
| 129 | 127 | enum prcm_gpiocr_altcx_index { |
| 130 | 128 | PRCM_IDX_GPIOCR_ALTC1, |
| @@ -135,7 +133,7 @@ enum prcm_gpiocr_altcx_index { · 4 unmodified lines | ||
| 135 | 133 | }; |
| 136 | 134 | |
| 137 | 135 | /** |
| 138 | − * struct prcm_gpio_altcx - Other alternate-C function | |
| 136 | + * struct prcm_gpiocr_altcx - Other alternate-C function | |
| 139 | 137 | * @used: other alternate-C function availability |
| 140 | 138 | * @reg_index: PRCM GPIOCR register index used to control the function |
| 141 | 139 | * @control_bit: PRCM GPIOCR bit used to control the function |
| @@ -147,7 +145,7 @@ struct prcm_gpiocr_altcx { · 5 unmodified lines | ||
| 147 | 145 | } __packed; |
| 148 | 146 | |
| 149 | 147 | /** |
| 150 | − * struct prcm_gpio_altcx_pin_desc - Other alternate-C pin | |
| 148 | + * struct prcm_gpiocr_altcx_pin_desc - Other alternate-C pin | |
| 151 | 149 | * @pin: The pin number |
| 152 | 150 | * @altcx: array of other alternate-C[1-4] functions |
| 153 | 151 | */ |
| @@ -193,7 +191,7 @@ struct nmk_pingroup { · 39 unmodified lines | ||
| 193 | 191 | * numbering. |
| 194 | 192 | * @npins: The number of entries in @pins. |
| 195 | 193 | * @functions: The functions supported on this SoC. |
| 196 | − * @nfunction: The number of entries in @functions. | |
| 194 | + * @nfunctions: The number of entries in @functions. | |
| 197 | 195 | * @groups: An array describing all pin groups the pin SoC supports. |
| 198 | 196 | * @ngroups: The number of entries in @groups. |
| 199 | 197 | * @altcx_pins: The pins that support Other alternate-C function on this SoC |
| @@ -9,10 +9,10 @@ · 8 unmodified lines | ||
| 9 | 9 | |
| 10 | 10 | /** |
| 11 | 11 | * struct timbgpio_platform_data - Platform data of the Timberdale GPIO driver |
| 12 | − * @gpio_base The number of the first GPIO pin, set to -1 for | |
| 12 | + * @gpio_base: The number of the first GPIO pin, set to -1 for | |
| 13 | 13 | * dynamic number allocation. |
| 14 | − * @nr_pins Number of pins that is supported by the hardware (1-32) | |
| 15 | − * @irq_base If IRQ is supported by the hardware, this is the base | |
| 14 | + * @nr_pins: Number of pins that is supported by the hardware (1-32) | |
| 15 | + * @irq_base: If IRQ is supported by the hardware, this is the base | |
| 16 | 16 | * number of IRQ:s. One IRQ per pin will be used. Set to |
| 17 | 17 | * -1 if IRQ:s is not supported. |
| 18 | 18 | */ |