Skip to content

pinctrl: ti: ti-iodelay: Fix some error handling paths + 2 unrelated clean-ups

Christophe JAILLET kernel-janitors linux-gpio lkml 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest3 patches 1 replyIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3pinctrl: ti: ti-iodelay: Fix some error handling pathsdrivers/pinctrl/ti/pinctrl-ti-iodelay.c+21 -310 replies
2/3pinctrl: ti: ti-iodelay: Constify struct ti_iodelay_reg_datadrivers/pinctrl/ti/pinctrl-ti-iodelay.c+1 -10 replies
3/3pinctrl: ti: ti-iodelay: Constify struct regmap_configdrivers/pinctrl/ti/pinctrl-ti-iodelay.c+2 -20 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/3] pinctrl: ti: ti-iodelay: Fix some error handling paths + 2 unrelated clean-ups

The first patch is completly speculative. It is based on static analysis when a function is called in the remove() function, but not in the error handling path of the probe.
When looking deeper at it, it seems that part of ti_iodelay_pinconf_init_dev() also needed to be fixed.

/!\ This is completly speculative. So review with care /!\

Patch 2 and 3 are just constification patches spoted while looking at the code.

Christophe JAILLET (3):
pinctrl: ti: ti-iodelay: Fix some error handling paths
pinctrl: ti: ti-iodelay: Constify struct ti_iodelay_reg_data
pinctrl: ti: ti-iodelay: Constify struct regmap_config

 drivers/pinctrl/ti/pinctrl-ti-iodelay.c | 58 ++++++++++---------------
 1 file changed, 24 insertions(+), 34 deletions(-)
Signature · 1 line
2.45.2