diff options
author | Lars-Peter Clausen <lars@metafoo.de> | 2015-07-16 21:22:49 +0200 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2015-07-16 22:35:12 +0200 |
commit | df2e268226e2e3d79980a5dddfd683126f79ddb4 (patch) | |
tree | b99b8de75e766e5a7e0776a18695d3892fc85cae /sound/soc/codecs/max98095.c | |
parent | Merge branches 'topic/owner' and 'topic/reg-default' of git://git.kernel.org/... (diff) | |
download | linux-df2e268226e2e3d79980a5dddfd683126f79ddb4.tar.xz linux-df2e268226e2e3d79980a5dddfd683126f79ddb4.zip |
ASoC: max9877: Make driver global regmap struct local
Use a stack local variable to handle function local state rather than a
global static variable. The later has a potential for race conditions if
the probe function runs for two devices concurrently.
Signed-off-by: Lars-Peter Clausen <lars@metafoo.de>
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'sound/soc/codecs/max98095.c')
0 files changed, 0 insertions, 0 deletions