[alsa-devel] [PATCHv2 0/3] regmap: Use different lockdep class for each regmap init call

Nicolas Boichat drinkcat at chromium.org
Wed Jul 8 08:30:15 CEST 2015


Second version. Small fixup in the regmap patch itself [3/3] (the
declaration of __devm_regmap_init_ac97 was missing lock_key/name
parameters).

Also, there are 2 drivers that are using function pointers named
"regmap_init", which causes problems as it is now a macro: put these
in parentheses to prevent the preprocessor from substituting them.

Patches 1+2 should be pushed first to avoid breaking git bissect.

Compile tested with allyesconfig on x86_64 and arm.

Nicolas Boichat (3):
  mfd: vexpress: Add parentheses around bridge->ops->regmap_init call
  thermal: sti: Add parentheses around bridge->ops->regmap_init call
  regmap: Use different lockdep class for each regmap init call

 drivers/base/regmap/regmap-ac97.c |  22 +++--
 drivers/base/regmap/regmap-i2c.c  |  22 +++--
 drivers/base/regmap/regmap-mmio.c |  27 ++++--
 drivers/base/regmap/regmap-spi.c  |  22 +++--
 drivers/base/regmap/regmap-spmi.c |  44 +++++----
 drivers/base/regmap/regmap.c      |  31 +++---
 drivers/bus/vexpress-config.c     |   2 +-
 drivers/thermal/st/st_thermal.c   |   2 +-
 include/linux/regmap.h            | 192 ++++++++++++++++++++++++++++----------
 9 files changed, 252 insertions(+), 112 deletions(-)

-- 
2.4.3.573.g4eafbef



More information about the Alsa-devel mailing list