android_kernel_motorola_sm6375/drivers/pinctrl
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Linus Walleij 4e6fd26dcf pinctrl: sirf/atlas7: stop poking around in GPIO internals
This code is poking around in the gpio_chip:s internal structures
to achieve some kind of pin to GPIO mappings.

- It is wrong to poke around in these structs and the pinctrl
  maintainer was stupid to let it pass unnoticed, mea culpa.

- The right interface to use is gpiochip_add_pin_range()

- The code appears unused: the pin control part of the driver
  is not adding any ranges, so we're iterating over an empty
  list. Maybe it is poking around in some other pin controllers
  GPIO ranges, and that's just totally wrong, again use
  gpiochip_add_pin_range() and specify the right pin
  controller.

Cc: Barry Song <[email protected]>
Cc: Guoying Zhang <[email protected]>
Cc: Wei Chen <[email protected]>
Signed-off-by: Linus Walleij <[email protected]>
2016-02-16 00:19:54 +01:00
..
bcm GPIO bulk updates for the v4.5 kernel cycle: 2016-01-17 12:32:01 -08:00
berlin
freescale
intel
mediatek GPIO bulk updates for the v4.5 kernel cycle: 2016-01-17 12:32:01 -08:00
meson
mvebu
nomadik
pxa
qcom GPIO bulk updates for the v4.5 kernel cycle: 2016-01-17 12:32:01 -08:00
samsung GPIO bulk updates for the v4.5 kernel cycle: 2016-01-17 12:32:01 -08:00
sh-pfc GPIO bulk updates for the v4.5 kernel cycle: 2016-01-17 12:32:01 -08:00
sirf pinctrl: sirf/atlas7: stop poking around in GPIO internals 2016-02-16 00:19:54 +01:00
spear GPIO bulk updates for the v4.5 kernel cycle: 2016-01-17 12:32:01 -08:00
sunxi gpio/pinctrl: sunxi: stop poking around in private vars 2016-02-11 20:29:45 +01:00
uniphier
vt8500 pinctrl: vt8500-wmt: use gpiochip data pointer 2016-01-05 14:15:08 +01:00
core.c
core.h
devicetree.c
devicetree.h
Kconfig
Makefile
pinconf-generic.c
pinconf.c
pinconf.h
pinctrl-adi2-bf54x.c
pinctrl-adi2-bf60x.c
pinctrl-adi2.c GPIO bulk updates for the v4.5 kernel cycle: 2016-01-17 12:32:01 -08:00
pinctrl-adi2.h
pinctrl-amd.c
pinctrl-amd.h
pinctrl-as3722.c
pinctrl-at91-pio4.c GPIO bulk updates for the v4.5 kernel cycle: 2016-01-17 12:32:01 -08:00
pinctrl-at91.c GPIO bulk updates for the v4.5 kernel cycle: 2016-01-17 12:32:01 -08:00
pinctrl-at91.h
pinctrl-coh901.c
pinctrl-coh901.h
pinctrl-digicolor.c
pinctrl-falcon.c
pinctrl-lantiq.c
pinctrl-lantiq.h
pinctrl-lpc18xx.c
pinctrl-palmas.c
pinctrl-pistachio.c
pinctrl-rockchip.c GPIO bulk updates for the v4.5 kernel cycle: 2016-01-17 12:32:01 -08:00
pinctrl-single.c
pinctrl-st.c pinctrl: st: use gpiochip data pointer 2016-01-05 14:14:57 +01:00
pinctrl-tb10x.c
pinctrl-tegra-xusb.c
pinctrl-tegra.c
pinctrl-tegra.h
pinctrl-tegra20.c
pinctrl-tegra30.c
pinctrl-tegra114.c
pinctrl-tegra124.c
pinctrl-tegra210.c
pinctrl-tz1090-pdc.c
pinctrl-tz1090.c
pinctrl-u300.c
pinctrl-utils.c
pinctrl-utils.h
pinctrl-xway.c GPIO bulk updates for the v4.5 kernel cycle: 2016-01-17 12:32:01 -08:00
pinctrl-zynq.c
pinmux.c
pinmux.h