linux/drivers/pinctrl/sh-pfc
Niklas Söderlund 550b6f7e8c pinctrl: sh-pfc: r8a77970: remove SH_PFC_PIN_CFG_DRIVE_STRENGTH flag
The datasheet does not document any registers to control drive strength,
and no drive strength registers are for this reason described for this
SoC. The flags indicating that drive strength can be controlled are
however set for some pins in the driver.

This leads to a NULL pointer dereference when the sh-pfc core tries to
access the struct describing the drive strength registers, for example
when reading the sysfs file pinconf-pins.

Fix this by removing the SH_PFC_PIN_CFG_DRIVE_STRENGTH from all pins.

Fixes: b92ac66a18 ("pinctrl: sh-pfc: Add R8A77970 PFC support")
Signed-off-by: Niklas Söderlund <niklas.soderlund+renesas@ragnatech.se>
Reviewed-by: Simon Horman <horms+renesas@verge.net.au>
Reviewed-by: Sergei Shtylyov <sergei.shtylyov@cogentembedded.com>
Reviewed-by: Geert Uytterhoeven <geert+renesas@glider.be>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
2018-07-14 12:47:04 +02:00
..
Kconfig pinctrl: sh-pfc: Initial R8A77990 PFC support 2018-05-23 14:43:32 +02:00
Makefile pinctrl: sh-pfc: Initial R8A77990 PFC support 2018-05-23 14:43:32 +02:00
core.c treewide: devm_kzalloc() -> devm_kcalloc() 2018-06-12 16:19:22 -07:00
core.h
gpio.c treewide: devm_kzalloc() -> devm_kcalloc() 2018-06-12 16:19:22 -07:00
pfc-emev2.c
pfc-r8a73a4.c
pfc-r8a7740.c
pfc-r8a7778.c
pfc-r8a7779.c
pfc-r8a7790.c pinctrl: sh-pfc: r8a7790: Add missing TX_ER pin to avb_mii group 2018-03-21 18:16:51 +01:00
pfc-r8a7791.c pinctrl: sh-pfc: r8a7791: Add tpu groups and function 2017-12-19 11:04:49 +01:00
pfc-r8a7792.c
pfc-r8a7794.c pinctrl: sh-pfc: r8a7794: Add i2c5 pin groups and function 2017-12-19 11:04:48 +01:00
pfc-r8a7795-es1.c pinctrl: sh-pfc: rcar-gen3: Fix grammar in static pin comments 2018-05-23 14:43:49 +02:00
pfc-r8a7795.c pinctrl: sh-pfc: rcar-gen3: Fix grammar in static pin comments 2018-05-23 14:43:49 +02:00
pfc-r8a7796.c pinctrl: sh-pfc: rcar-gen3: Fix grammar in static pin comments 2018-05-23 14:43:49 +02:00
pfc-r8a77470.c pinctrl: sh-pfc: Add r8a77470 PFC support 2018-05-16 13:32:15 +02:00
pfc-r8a77965.c pinctrl: sh-pfc: rcar-gen3: Fix grammar in static pin comments 2018-05-23 14:43:49 +02:00
pfc-r8a77970.c pinctrl: sh-pfc: r8a77970: remove SH_PFC_PIN_CFG_DRIVE_STRENGTH flag 2018-07-14 12:47:04 +02:00
pfc-r8a77980.c pinctrl: sh-pfc: r8a77980: Add pin I/O voltage control support 2018-05-16 13:31:38 +02:00
pfc-r8a77990.c pinctrl: sh-pfc: r8a77990: Add EthernetAVB pins, groups and functions 2018-05-23 14:43:32 +02:00
pfc-r8a77995.c pinctrl: sh-pfc: r8a77995: Deduplicate VIN4 pin definitions 2018-03-21 18:25:48 +01:00
pfc-sh73a0.c
pfc-sh7203.c
pfc-sh7264.c
pfc-sh7269.c
pfc-sh7720.c
pfc-sh7722.c
pfc-sh7723.c
pfc-sh7724.c
pfc-sh7734.c
pfc-sh7757.c
pfc-sh7785.c
pfc-sh7786.c
pfc-shx3.c
pinctrl.c treewide: devm_kzalloc() -> devm_kcalloc() 2018-06-12 16:19:22 -07:00
sh_pfc.h pinctrl: sh-pfc: Initial R8A77990 PFC support 2018-05-23 14:43:32 +02:00