Received: by 2002:a25:ef43:0:0:0:0:0 with SMTP id w3csp467656ybm; Fri, 29 May 2020 04:43:32 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxTqyw1AvRsSPk297kUaklsjqpowE1IKH0vH1SA2u8L+SKcbNrPiVaCbS3/F52Yg4akwFUy X-Received: by 2002:a17:906:3499:: with SMTP id g25mr6120484ejb.518.1590752612649; Fri, 29 May 2020 04:43:32 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1590752612; cv=none; d=google.com; s=arc-20160816; b=tdA1OlcySl9MZlZgnjDw0sUD3YzuSuN5tVNLLWxGDKTcZda7eiznyXd3NkbVDFQD/D KE9OsHnwabanJXsJluKz1bW1bYXNJDpX5d9Io1AnaUwrC7J9b4jY48j66cG1C+4LI1ZM gFWIM35dGvjKbTili3gQT34cUYBdC1LYPBXNgPb2s2OVCc26JNBUgEt2J58UHWJ9Ru+y zO+mxH8RwOW7fgbbXUtjYwcl+mKzfzzWmcfljJQkSZPTblcstBWgWhabnHo6tEDC7lso 3Tx+jc7Vn8B2tZyIM/6caDId1xtrmUHl7Ln6nkWurC8Milw45KK8o+0TuwUZVxWKNF7C aYoA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:to:references:message-id :content-transfer-encoding:cc:date:in-reply-to:from:subject :mime-version; bh=7qe1+w1JW+cRsuPM0YELu97I4rqe3pMiSI+Hgnla400=; b=Ee9BOVO5lO9kuXiPs/OcNbdoEE3j81TbDTU7pnQdOfZXnTXl8a+YClqExG4DU346X0 ZYlsjWj+3CuCPnDiAVl/7QFdfXHgDEyY0QobNrkefoqWo7HUcTkeEajVJqUttDOia1+P q+ePWiJWersTgKHP4u5vRA4ED+Ja9MAqU1Z861GsUOTTnssxhEj2S+dypapi2QsssfyE CZxaQ3dhvkkOf24Xvt2fd9ozFd6EqnXPY7c29/Hj4LJDh6JUvfQ889TvACzjGpRXl847 pcTkLS+CyFjbsrXOstr6Qa1dfnGT5FLEL0hTRUrJNcBOegKu+09ojEc6ntlvLqo3lArE XZYw== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-bluetooth-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-bluetooth-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id y5si5093797edu.171.2020.05.29.04.43.08; Fri, 29 May 2020 04:43:32 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-bluetooth-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-bluetooth-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-bluetooth-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726282AbgE2Llm convert rfc822-to-8bit (ORCPT + 99 others); Fri, 29 May 2020 07:41:42 -0400 Received: from coyote.holtmann.net ([212.227.132.17]:55870 "EHLO mail.holtmann.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725562AbgE2Llm (ORCPT ); Fri, 29 May 2020 07:41:42 -0400 Received: from marcel-macbook.fritz.box (p4fefc5a7.dip0.t-ipconnect.de [79.239.197.167]) by mail.holtmann.org (Postfix) with ESMTPSA id 5BCECCECD3; Fri, 29 May 2020 13:51:27 +0200 (CEST) Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 (Mac OS X Mail 13.4 \(3608.80.23.2.2\)) Subject: Re: [PATCH v2] Bluetooth: btmtkuart: Improve exception handling in btmtuart_probe() From: Marcel Holtmann In-Reply-To: <20200529022726.917826-1-hslester96@gmail.com> Date: Fri, 29 May 2020 13:41:40 +0200 Cc: Sean Wang , Johan Hedberg , Matthias Brugger , Markus Elfring , "open list:BLUETOOTH DRIVERS" , linux-mediatek@lists.infradead.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Content-Transfer-Encoding: 8BIT Message-Id: <73E264F7-E38D-4E25-A78F-DC13A89B00A0@holtmann.org> References: <20200529022726.917826-1-hslester96@gmail.com> To: Chuhong Yuan X-Mailer: Apple Mail (2.3608.80.23.2.2) Sender: linux-bluetooth-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-bluetooth@vger.kernel.org Hi Chuhong, > Calls of the functions clk_disable_unprepare() and hci_free_dev() > were missing for the exception handling. > Thus add the missed function calls together with corresponding > jump targets. > > Fixes: 055825614c6b ("Bluetooth: btmtkuart: add an implementation for clock osc property") > Signed-off-by: Chuhong Yuan > --- > Changes in v2: > - Modify description. > - Add fixes tag. > > drivers/bluetooth/btmtkuart.c | 14 ++++++++------ > 1 file changed, 8 insertions(+), 6 deletions(-) patch has been applied to bluetooth-next tree. Regards Marcel