aboutsummaryrefslogtreecommitdiff
path: root/lib/mpi/mpiutil.c
diff options
context:
space:
mode:
authorLars-Peter Clausen <[email protected]>2015-07-16 21:22:49 +0200
committerMark Brown <[email protected]>2015-07-16 21:35:12 +0100
commitdf2e268226e2e3d79980a5dddfd683126f79ddb4 (patch)
treeb99b8de75e766e5a7e0776a18695d3892fc85cae /lib/mpi/mpiutil.c
parent7d9fb377a747025232fe4e8d17e54ff8032aba27 (diff)
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 <[email protected]> Signed-off-by: Mark Brown <[email protected]>
Diffstat (limited to 'lib/mpi/mpiutil.c')
0 files changed, 0 insertions, 0 deletions