Received: by 2002:a25:8b91:0:0:0:0:0 with SMTP id j17csp14034337ybl; Mon, 30 Dec 2019 02:49:26 -0800 (PST) X-Google-Smtp-Source: APXvYqzFAAzs6mui4Kix3sRlGqXokqAmZz7dNTYkzakFA200bHKkfo9sIRukXa5lcEPNMfRucYX2 X-Received: by 2002:a9d:6758:: with SMTP id w24mr9184731otm.155.1577702966630; Mon, 30 Dec 2019 02:49:26 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1577702966; cv=none; d=google.com; s=arc-20160816; b=smhcJsNFYTwb+jR/G3VrGRkE6anKbCvNOPY4Fx20uzHm56sgolq7o/qVPtsHGkooUT HkwJL9YZB42cUXKuwvbVdPzwYTfA0yzeyieT7EeEOdE4xhHIH/lUTCJOUT7Y+mqfS37y kz8RnvKurdMymYlf1chyvQmBIjx9BSsqxpG5/8Vf1/kIxmH20mqn0lryT/PBOalaMkgB UsAJRZ1YDfFt0/kR/WboTWmVGPrFMe+RuGD1S6WK44G4nsXD2kVOqinzGX0A+YJSGqMO bvIQ0Zy/Nx+QBNgcNUlqnEFrG3xzqYvW/oFtPj+haec4c4kBohwOaQxk2adOFpFlg+Cd xYEQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:dkim-signature; bh=VaGdZjmNiXn+e3fOnWQrXgYdyILFsmQJFn+WM/zYtm0=; b=O4SCSbaCLPzh2v7q5lpZiXBNPRTjwzGLATpk4ex6FZo4zDlWyKOtjM61GHcvDtiY4Y VJ/u0MFYdKncosHkSMSkk1svFWLFDvc9nGQh2O5d1sZijvYPHT0gNA3828yJlUOc1ofW nEYsbIJX+wsmLxUUIyvBx0fM4IVBz13Dr4Z0EE2Qconknr/OdUm4nOiCvPIBqRvnjxXA WapaRa75n/3weB1psnmmoDG6Ap3y2BZb1p5K5f4tNSMBlQQPAOfldlbUOrSetplq24RW t4hyg+xq4WC+zGthODythKO+L0fG2wOZp9NP1npliRC1tyOR/I3xxVAtvXB5bxb67tff 0sFw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@cirrus.com header.s=PODMain02222019 header.b=EL9pLURo; 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=opensource.cirrus.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id q6si17228250oth.26.2019.12.30.02.48.58; Mon, 30 Dec 2019 02:49:26 -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=@cirrus.com header.s=PODMain02222019 header.b=EL9pLURo; 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=opensource.cirrus.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727372AbfL3Kpq (ORCPT + 99 others); Mon, 30 Dec 2019 05:45:46 -0500 Received: from mx0a-001ae601.pphosted.com ([67.231.149.25]:20128 "EHLO mx0b-001ae601.pphosted.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1726196AbfL3Kpq (ORCPT ); Mon, 30 Dec 2019 05:45:46 -0500 Received: from pps.filterd (m0077473.ppops.net [127.0.0.1]) by mx0a-001ae601.pphosted.com (8.16.0.42/8.16.0.42) with SMTP id xBUAiuYh031107; Mon, 30 Dec 2019 04:44:56 -0600 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cirrus.com; h=date : from : to : cc : subject : message-id : references : mime-version : content-type : in-reply-to; s=PODMain02222019; bh=VaGdZjmNiXn+e3fOnWQrXgYdyILFsmQJFn+WM/zYtm0=; b=EL9pLURoWu6MMb/eWLf4ZX5kFN6ry+j+qQpivxaRJZmWfVwKB7SYbu/+SDoD7CCYrI3u qy7MFjCKgsb/wb/oj3XzVlJD4nyyZ1KpT4xTGQrC7GjUFCibux0y0ujB7tfqjdxWH0F5 8uMCesle9JyUjxEM3T7yv4lfDCU9E8P23VAF3rJGVn2iiKSRxIhNnTv/87+rKnGfeBCh EdqamZxeUWsPo0vAew34N4mFrfM3Df/F4KTTNpVlgUxGYqJptoZyQ33JjABFphhAxsSp 1hPeFr00w3ndZLLc0Eu93X+U+UJDpHE2si4sqmqMEk87j34igfVez4i/J9J2pVC0S06w 0Q== Authentication-Results: ppops.net; spf=fail smtp.mailfrom=ckeepax@opensource.cirrus.com Received: from ediex02.ad.cirrus.com ([5.172.152.52]) by mx0a-001ae601.pphosted.com with ESMTP id 2x65b7a5sm-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128 verify=NOT); Mon, 30 Dec 2019 04:44:56 -0600 Received: from EDIEX01.ad.cirrus.com (198.61.84.80) by EDIEX02.ad.cirrus.com (198.61.84.81) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.1591.10; Mon, 30 Dec 2019 10:44:54 +0000 Received: from ediswmail.ad.cirrus.com (198.61.86.93) by EDIEX01.ad.cirrus.com (198.61.84.80) with Microsoft SMTP Server id 15.1.1591.10 via Frontend Transport; Mon, 30 Dec 2019 10:44:54 +0000 Received: from ediswmail.ad.cirrus.com (ediswmail.ad.cirrus.com [198.61.86.93]) by ediswmail.ad.cirrus.com (Postfix) with ESMTP id 55B8E2A1; Mon, 30 Dec 2019 10:44:53 +0000 (UTC) Date: Mon, 30 Dec 2019 10:44:53 +0000 From: Charles Keepax To: Christophe JAILLET CC: , , , , , , , , , , Subject: Re: [PATCH] ASoC: cs47l92: Simplify error handling code in 'cs47l92_probe()' Message-ID: <20191230104453.GG10451@ediswmail.ad.cirrus.com> References: <20191226162907.9490-1-christophe.jaillet@wanadoo.fr> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Disposition: inline In-Reply-To: <20191226162907.9490-1-christophe.jaillet@wanadoo.fr> User-Agent: Mutt/1.5.21 (2010-09-15) X-Proofpoint-SPF-Result: fail X-Proofpoint-SPF-Record: v=spf1 include:spf-001ae601.pphosted.com include:spf.protection.outlook.com -all X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 malwarescore=0 suspectscore=0 bulkscore=0 mlxlogscore=999 spamscore=0 mlxscore=0 lowpriorityscore=0 priorityscore=1501 impostorscore=0 clxscore=1011 phishscore=0 adultscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-1910280000 definitions=main-1912300099 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, Dec 26, 2019 at 05:29:07PM +0100, Christophe JAILLET wrote: > If 'madera_init_bus_error_irq()' fails, > 'wm_adsp2_remove(&cs47l92->core.adsp[0])' will be called twice. > Once in the 'if' block, and once in the error handling path. > This is harmless, but one of this call can be axed. > > Signed-off-by: Christophe JAILLET > --- Acked-by: Charles Keepax Thanks, Charles