Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

Merge tag 'pinctrl-v4.7-2' of git://git.kernel.org/pub/scm/linux/kernel/git/linusw/linux-pinctrl

Pull pin control fixes from Linus Walleij:
"Here are three pin control fixes for v4.7. Not much, and just driver
fixes:

- add device tree matches to MAINTAINERS

- inversion bug in the Nomadik driver

- dual edge handling bug in the mediatek driver"

* tag 'pinctrl-v4.7-2' of git://git.kernel.org/pub/scm/linux/kernel/git/linusw/linux-pinctrl:
pinctrl: mediatek: fix dual-edge code defect
MAINTAINERS: Add file patterns for pinctrl device tree bindings
pinctrl: nomadik: fix inversion of gpio direction

+5 -3
+1
MAINTAINERS
··· 8945 8945 L: linux-gpio@vger.kernel.org 8946 8946 T: git git://git.kernel.org/pub/scm/linux/kernel/git/linusw/linux-pinctrl.git 8947 8947 S: Maintained 8948 + F: Documentation/devicetree/bindings/pinctrl/ 8948 8949 F: drivers/pinctrl/ 8949 8950 F: include/linux/pinctrl/ 8950 8951
+3 -2
drivers/pinctrl/mediatek/pinctrl-mtk-common.c
··· 1256 1256 const struct mtk_desc_pin *pin; 1257 1257 1258 1258 chained_irq_enter(chip, desc); 1259 - for (eint_num = 0; eint_num < pctl->devdata->ap_num; eint_num += 32) { 1259 + for (eint_num = 0; 1260 + eint_num < pctl->devdata->ap_num; 1261 + eint_num += 32, reg += 4) { 1260 1262 status = readl(reg); 1261 - reg += 4; 1262 1263 while (status) { 1263 1264 offset = __ffs(status); 1264 1265 index = eint_num + offset;
+1 -1
drivers/pinctrl/nomadik/pinctrl-nomadik.c
··· 854 854 855 855 clk_enable(nmk_chip->clk); 856 856 857 - dir = !!(readl(nmk_chip->addr + NMK_GPIO_DIR) & BIT(offset)); 857 + dir = !(readl(nmk_chip->addr + NMK_GPIO_DIR) & BIT(offset)); 858 858 859 859 clk_disable(nmk_chip->clk); 860 860