From 731f5a512c6ff01630791e57119bfe6c40cacdb6 Mon Sep 17 00:00:00 2001 From: Pierre-Louis Bossart Date: Mon, 5 Feb 2024 08:30:35 -0600 Subject: [PATCH] fixup! soundwire: intel: add support for MeteorLake additional clocks Needs to unlock before returning Reported-by: kernel test robot Reported-by: Dan Carpenter Closes: https://lore.kernel.org/r/202402041508.xKhlqGcY-lkp@intel.com/ Signed-off-by: Pierre-Louis Bossart --- drivers/soundwire/intel.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/drivers/soundwire/intel.c b/drivers/soundwire/intel.c index 1b198ebe9d6da9..e15666962fe49d 100644 --- a/drivers/soundwire/intel.c +++ b/drivers/soundwire/intel.c @@ -373,7 +373,8 @@ static int intel_link_power_up(struct sdw_intel *sdw) } else { dev_err(sdw->cdns.dev, "%s: invalid clock configuration, mclk %d lcap_mlcs %d\n", __func__, prop->mclk_freq, lcap_mlcs); - return -EINVAL; + ret = -EINVAL; + goto out; } } else { syncprd = SDW_SHIM_SYNC_SYNCPRD_VAL_38_4;