Received: by 2002:a05:6a10:9e8c:0:0:0:0 with SMTP id y12csp262047pxx; Wed, 28 Oct 2020 04:24:47 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyDUBdp9MAd5bfSptUUf5vz0ZTz3/YJr/sTm1DoNP94GID2EyxD+nVwtyzxBMaJCwX/tUJZ X-Received: by 2002:a50:e04d:: with SMTP id g13mr7244918edl.72.1603884287458; Wed, 28 Oct 2020 04:24:47 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1603884287; cv=none; d=google.com; s=arc-20160816; b=RfbXlno1ua5qc+Vq3CqEnbvxh+1vz79v9J1rG1gj9OoF1PCOOYL1hBNsQBRxP7fM+G 3/WLp6ai/COGJiNLXcWIG6xv0CfjTP/8PlahXsrPwiRGxdZJIjWRmx2TUY2BSG7sIMk7 9Aez2JlR/gcwnL6gz1xUGZm4ilq5s/0z9cDX84VnrgCl/LLbFAt2auzCLzJtHB7bxLhC wrj3JTPfgrWB2XwnHW46v979clH06eDMT+HX1zRFBJ/+2iWGP0rOhL01P4wizWqVgvSt WfEknAGu/3RBVakfiovSvATyyi3afRDXZGdFh0x9uaZ9X7p4uL0BsLxpZ6T7tZfxGA66 La1Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :user-agent:references:in-reply-to:message-id:date:subject:cc:to :from:dkim-signature; bh=w7P/Sw7XGZszsH9dAJCkUBmLIGEnwLMRCd+FV+1go2Q=; b=0LAiPYy4gfbsPF4MSjAN1d1ZMmN7Ra9pjop+g4Ejw85PeyXcqa+AhB10ZvNMDFGv9t s6/IwLC0unAd/hXIO51ZMJfGV7jv1BU7sb8vwD5qz/R6PwkwkQiMICTohzw2kuPhrR52 zLcd1Wl2GQqA4I/Uec7ctyODeCUiUpno213FP+CO3Bcf89F9xHC8qp0Aif56KR47N9x2 xE88xWizmvzbbEfWdGVQHiveCI+2SbadQxcBit7UHQLaf89p0Z4MJmf3ptiAf/KeS3PZ 5K5pWOTK+nazPsKCI3+OO5yJci56A/DD4LolpSHmH0p0gQ2iWxILDwaZhDGwAh3xROzQ uOfw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=1Iyi+CJr; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id jr1si3058858ejb.164.2020.10.28.04.24.25; Wed, 28 Oct 2020 04:24:47 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=1Iyi+CJr; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1789822AbgJ0PDC (ORCPT + 99 others); Tue, 27 Oct 2020 11:03:02 -0400 Received: from mail.kernel.org ([198.145.29.99]:33512 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1787496AbgJ0PAL (ORCPT ); Tue, 27 Oct 2020 11:00:11 -0400 Received: from localhost (83-86-74-64.cable.dynamic.v4.ziggo.nl [83.86.74.64]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 147D220714; Tue, 27 Oct 2020 15:00:09 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1603810810; bh=1Aj6JeR182PwkxhNRcNlUtJai3evxxD9/5dvhRXyi1U=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=1Iyi+CJrXJMPyaSVb1V+fBX4IJIsBptFNajSY1SlGZWMAV7SEAHjzFPXR4IoYabb4 +/q9R1FQsAuPaN/VNg8TN+WMOCrpZd1HUnsJIxf+87wjUo+IGz0Vdh+M4XndSKReKQ DFNF5l7kh30/O5+U3gDBW1WuyCGcEU54GSllGYAs= From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, Srinivas Kandagatla , Sasha Levin Subject: [PATCH 5.8 271/633] slimbus: core: do not enter to clock pause mode in core Date: Tue, 27 Oct 2020 14:50:14 +0100 Message-Id: <20201027135535.380939789@linuxfoundation.org> X-Mailer: git-send-email 2.29.1 In-Reply-To: <20201027135522.655719020@linuxfoundation.org> References: <20201027135522.655719020@linuxfoundation.org> User-Agent: quilt/0.66 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Srinivas Kandagatla [ Upstream commit df2c471c4ae07e18a0396db670dca2ef867c5153 ] Let the controller logic decide when to enter into clock pause mode! Entering in to pause mode during unregistration does not really make sense as the controller is totally going down at that point in time. Fixes: 4b14e62ad3c9e ("slimbus: Add support for 'clock-pause' feature") Signed-off-by: Srinivas Kandagatla Link: https://lore.kernel.org/r/20200925095520.27316-3-srinivas.kandagatla@linaro.org Signed-off-by: Greg Kroah-Hartman Signed-off-by: Sasha Levin --- drivers/slimbus/core.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/drivers/slimbus/core.c b/drivers/slimbus/core.c index 58b63ae0e75a6..1d2bc181da050 100644 --- a/drivers/slimbus/core.c +++ b/drivers/slimbus/core.c @@ -301,8 +301,6 @@ int slim_unregister_controller(struct slim_controller *ctrl) { /* Remove all clients */ device_for_each_child(ctrl->dev, NULL, slim_ctrl_remove_device); - /* Enter Clock Pause */ - slim_ctrl_clk_pause(ctrl, false, 0); ida_simple_remove(&ctrl_ida, ctrl->id); return 0; -- 2.25.1