summaryrefslogtreecommitdiff
path: root/include/linux/root_dev.h
diff options
context:
space:
mode:
authorXun Zhang <xun2.zhang@intel.com>2019-04-19 23:53:49 +0300
committerMark Brown <broonie@kernel.org>2019-04-25 21:41:58 +0300
commitc46ab1510de1d3dd9871ae36fbec0da3e0d2d6c5 (patch)
tree9ab380eb7edd01124aaffb8c587960205eeebcba /include/linux/root_dev.h
parent0bbf4084e0cfbbbff8673f3b9867778d5d4b1d6f (diff)
downloadlinux-c46ab1510de1d3dd9871ae36fbec0da3e0d2d6c5.tar.xz
ASoC: codecs: rt5682: initialize mutex before using
In rt5682 codec driver, a mutex called "calibrate_mutex" is used in rt5682_calibrate() before initialization, which causes warning in lock debug. Move the initialization before the usage of mutex. Signed-off-by: Xun Zhang <xun2.zhang@intel.com> Signed-off-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com> Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'include/linux/root_dev.h')
0 files changed, 0 insertions, 0 deletions