Received: by 2002:a25:6193:0:0:0:0:0 with SMTP id v141csp3285274ybb; Tue, 31 Mar 2020 02:06:04 -0700 (PDT) X-Google-Smtp-Source: ADFU+vuOXQJ01CVLjuGp5988NUE34rFYglHWCFB8pl0vFCK6trsTtVDZHb1MpJDkwLqFqXq4Vug/ X-Received: by 2002:a05:6830:16cc:: with SMTP id l12mr12334738otr.172.1585645564652; Tue, 31 Mar 2020 02:06:04 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1585645564; cv=none; d=google.com; s=arc-20160816; b=cZoGIEnLfy+4ZdvQFsnRTHXyQIIxLwozvQv0A40iOOqh78p0MEG0jOUXkVZkJE+q4Y LCNhJs0/mCGiOOkdGBVca3xnjthrzR2lplQDBfgb87+GWJmtXp64CD2UW29V1Qh8QagM B+fnj6gu+jhCmJ2b2docoHWbKhv/tUJqfE5MNPaEnxQHv6yimyvTXIa9QPEdTtVqi42a BVtBlL3k3+0POTHrgpvUhCvod6v3jGbQeHJklxAg9QYbLBj6cf2IRbO+CV1ZTYD2sD1r 5nxQzNNKEZz4DftRHbmIGzmziy87stindIOWy1ilMPymDG3vGKRZUkP1YxC5QyVSDe7X v76g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :user-agent:references:in-reply-to:message-id:date:subject:cc:to :from:dkim-signature; bh=A55Rgqym1DaWjsocPVJp4YYebedZQf41MZJ3Q5NlJiA=; b=k4kZq7hOyg+ye4VYpHY9pR3beET0p4V/+moEfW2G4Offgxz2U89kk1yA5WkenX3d84 9Ry6bXMo0ZZ83M4zrlSPJos6rRpXsyGgqc8iu4J4wLUOK8rlrwcVnV65ufUODckVoM+M bmN5i5Q6F2P6kxvsd8n8hX3OaBemFxvRuXkbISm1tmsS6uWbkZo9q/vhC0gU89BCluHZ 51bkuWDJ2fJIyx7M3UPaNfKLG/K3mg8gXAv8NcEQWUkZoMixZxFwGn8NNUgKMRYRZTNJ fBZx3vs8HbgVQyQllWG4WN6qW9b+oFw0Mtb5VQRHqif5ucfGn5sSNyerjhJ+tPF2+mKG UtBQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=H7J9mk27; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id x14si7090974ooq.78.2020.03.31.02.05.52; Tue, 31 Mar 2020 02:06:04 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=H7J9mk27; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1731055AbgCaJF2 (ORCPT + 99 others); Tue, 31 Mar 2020 05:05:28 -0400 Received: from mail.kernel.org ([198.145.29.99]:46474 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1730381AbgCaJF1 (ORCPT ); Tue, 31 Mar 2020 05:05:27 -0400 Received: from localhost (83-86-89-107.cable.dynamic.v4.ziggo.nl [83.86.89.107]) (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 649ED20B1F; Tue, 31 Mar 2020 09:05:26 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1585645526; bh=6btdPEC8CzNBTP2CSMWFjhTl0NUxOV5Iz79NasmD+tw=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=H7J9mk27pITMak2Se4AFbw8VZuRjgts4ew5J9run0Y13mk/gqKZgP02Uv4qon7Cty RDTPI1m0eQh4w4Ufm76QUg+uZlOVEttodZQB74inz2jze5VIW3RmTtExYO8elrYNlq RRoJ5r8YDTRjrPLbDZYP64Kvp8OaG5/Qxh6InYdo= From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, Chuhong Yuan , Wolfram Sang , stable@kernel.org Subject: [PATCH 5.5 081/170] i2c: hix5hd2: add missed clk_disable_unprepare in remove Date: Tue, 31 Mar 2020 10:58:15 +0200 Message-Id: <20200331085432.922121941@linuxfoundation.org> X-Mailer: git-send-email 2.26.0 In-Reply-To: <20200331085423.990189598@linuxfoundation.org> References: <20200331085423.990189598@linuxfoundation.org> User-Agent: quilt/0.66 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Chuhong Yuan commit e1b9f99ff8c40bba6e59de9ad4a659447b1e4112 upstream. The driver forgets to disable and unprepare clk when remove. Add a call to clk_disable_unprepare to fix it. Signed-off-by: Chuhong Yuan Signed-off-by: Wolfram Sang Cc: stable@kernel.org Signed-off-by: Greg Kroah-Hartman --- drivers/i2c/busses/i2c-hix5hd2.c | 1 + 1 file changed, 1 insertion(+) --- a/drivers/i2c/busses/i2c-hix5hd2.c +++ b/drivers/i2c/busses/i2c-hix5hd2.c @@ -477,6 +477,7 @@ static int hix5hd2_i2c_remove(struct pla i2c_del_adapter(&priv->adap); pm_runtime_disable(priv->dev); pm_runtime_set_suspended(priv->dev); + clk_disable_unprepare(priv->clk); return 0; }