Skip to content
Unverified Commit c46ab151 authored by Xun Zhang's avatar Xun Zhang Committed by Mark Brown
Browse files

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: default avatarXun Zhang <xun2.zhang@intel.com>
Signed-off-by: default avatarPierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
Signed-off-by: default avatarMark Brown <broonie@kernel.org>
parent 0bbf4084
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment