lkml.org 
[lkml]   [2018]   [Jun]   [19]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
Subject[PATCHv2 0/5] pinctrl fixes for generic functions and groups
Date
Here are fixes to the race issues for generic group and functions
reported by H. Nikolaus Schaller <hns@goldelico.com>. I have not seen
the issue here myself, so please test to see if this is sufficient.

I've also fixed rza1 in addition to pinctrl-single. Please also check
the drivers pinctrl-mt7622.c and pinctrl-ingenic.c if mutex fixes are
needed there.

Regards,

Tony

Changes since v1:

- Check if a function or group already exists as suggested by
Andy Shevchenko

- Make sure we always have a valid name for functions and groups
as suggested by Christ van Willegen

- Prettify rza1 variables as suggested by Jacopo Mondi


Tony Lindgren (5):
pinctrl: core: Return selector to the pinctrl driver
pinctrl: pinmux: Return selector to the pinctrl driver
pinctrl: single: Fix group and function selector use
pinctrl: rza1: Fix selector use for groups and functions
pinctrl: core: Remove broken remove_last group and pinmux functions

drivers/pinctrl/core.c | 35 ++++++++++--
drivers/pinctrl/core.h | 6 ---
drivers/pinctrl/pinctrl-rza1.c | 24 +++++----
drivers/pinctrl/pinctrl-single.c | 91 +++++++++++++++++++-------------
drivers/pinctrl/pinmux.c | 16 ++++--
drivers/pinctrl/pinmux.h | 7 ---
6 files changed, 112 insertions(+), 67 deletions(-)

--
2.17.1

\
 
 \ /
  Last update: 2018-06-19 11:32    [W:0.092 / U:0.244 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site