Explorar o código

Merge "audio-lnx: Correct mutex usage during error handling"

Linux Build Service Account %!s(int64=7) %!d(string=hai) anos
pai
achega
2ba9dc5714
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      asoc/codecs/msm_sdw/msm_sdw_cdc.c

+ 1 - 1
asoc/codecs/msm_sdw/msm_sdw_cdc.c

@@ -256,8 +256,8 @@ static int msm_int_enable_sdw_cdc_clk(struct msm_sdw_priv *msm_sdw,
 			msm_sdw->int_mclk1_enabled = false;
 		}
 	}
-	mutex_unlock(&msm_sdw->cdc_int_mclk1_mutex);
 rtn:
+	mutex_unlock(&msm_sdw->cdc_int_mclk1_mutex);
 	return ret;
 }
 EXPORT_SYMBOL(msm_int_enable_sdw_cdc_clk);