Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp438338imu; Thu, 8 Nov 2018 10:21:38 -0800 (PST) X-Google-Smtp-Source: AJdET5exAS/PLtY+rWRpxGw7L8yyWJ7jjionlexqKUhrReMZt5cHExnHJulLK03OY85Rq/nkPW32 X-Received: by 2002:a17:902:3e3:: with SMTP id d90-v6mr5539022pld.118.1541701298359; Thu, 08 Nov 2018 10:21:38 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1541701298; cv=none; d=google.com; s=arc-20160816; b=KA12vrj/RI4EUoNDjXd8YJI073SMCzieqGTn0bCtGPcOD7Bgkwdq+zzz8aZAJK002A g1vXWKTumRdsJ1zS7Bvfi6WxLuTrxyrQVnweJd+76O1IIg0MOhIYE8NKMS0CQ7VL5dHO mThbWcpjLsIDKuWwuklQ0UBPMQ7lGlVjr7lC5l2E8MIDNVoHkS7nhHe9QTrWPekBARwR 16nt7dYbOSDuYfstLX1hkCJrnA7GENyFCVK1eZEzyvicnwZx4A+2vayralpp1bA34hZv bDnf6puXOWiFi3TYACzYai0LmeXHtpLWehBw6b+brw8+s3daEO34fofd6wkOqyX+S0kn Y/cg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:date:subject:user-agent:message-id :references:cc:in-reply-to:from:to:content-transfer-encoding :mime-version:dkim-signature; bh=wNjPseyv1ISzhBnLQlRwWgsT86FFkcYpV9MZ+AFJo0Y=; b=M18Ky1O1T2vBWmoaJgPnUKBzRaR7dXTAlKEB80Hl0AGzWAFQTq48P8Cp0LyYB58DH2 rWy4FI+fAx6Vsvg9em5m+AV/nvgIEryDscrIjJbLg9tI603eNDGaD9zpYhsTMPfsFb9+ d1OjirGcDltAm2I0SvdrFM8kGevRQXB5GCrwRNNfDQxTgZQwv4+4gMr+EYj2DfN9a/ti TCVrSutXF/iY4dtZHvmLkEongH8I1pby95xxqAMnUmZA+z5L61UhYv++5boOCincebyx PQpWHQC1fYg8SGYJ64dHtKV7FJ+xml6q9uNLP3nuNkFXyyVg1T7PWrp4sIuxLQnCGAfs 7YUQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=z5+kCpmw; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id z14si4424091pgz.180.2018.11.08.10.21.22; Thu, 08 Nov 2018 10:21:38 -0800 (PST) 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=z5+kCpmw; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727071AbeKID4V (ORCPT + 99 others); Thu, 8 Nov 2018 22:56:21 -0500 Received: from mail.kernel.org ([198.145.29.99]:51612 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726751AbeKID4V (ORCPT ); Thu, 8 Nov 2018 22:56:21 -0500 Received: from localhost (unknown [104.132.0.74]) (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 5C9C520825; Thu, 8 Nov 2018 18:19:37 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1541701177; bh=wNjPseyv1ISzhBnLQlRwWgsT86FFkcYpV9MZ+AFJo0Y=; h=To:From:In-Reply-To:Cc:References:Subject:Date:From; b=z5+kCpmwYUmujLy4/HW4OcENjy9Fvah57DOKyHGXSmcOliv689Lu2Aj3FVLOzKJ+Z M8CcNPB+nYFI1TGJ1Hd000Q6snYN6ZN3bHfaOeQ87jxeaDt+zbZzi8vmWqEyMvgpJV 43/LSkfh16E3T550pYIOhniuIMlJD1O7pKV+TTr8= Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable To: Yi Wang , paul.burton@mips.com From: Stephen Boyd In-Reply-To: <1540971702-3133-3-git-send-email-wang.yi59@zte.com.cn> Cc: mturquette@baylibre.com, linux-mips@linux-mips.org, linux-clk@vger.kernel.org, linux-kernel@vger.kernel.org, zhong.weidong@zte.com.cn, Yi Wang References: <1540971702-3133-1-git-send-email-wang.yi59@zte.com.cn> <1540971702-3133-3-git-send-email-wang.yi59@zte.com.cn> Message-ID: <154170117680.88331.2861577211813532009@swboyd.mtv.corp.google.com> User-Agent: alot/0.7 Subject: Re: [PATCH v3 2/2] clk: boston: unregister clks on failure in clk_boston_setup() Date: Thu, 08 Nov 2018 10:19:36 -0800 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Quoting Yi Wang (2018-10-31 00:41:42) > The registered clks should unregister when something wrong happens > before going out in function clk_boston_setup(). > = > Signed-off-by: Yi Wang > --- Applied to clk-next