Received: by 2002:ac0:946b:0:0:0:0:0 with SMTP id j40csp2419329imj; Mon, 18 Feb 2019 05:47:04 -0800 (PST) X-Google-Smtp-Source: AHgI3IYjNsiXnj1IvtI7d609zyCW7rDloG4g77j7cG0GkPc/DL9CG0FZPCy1t9naTmofIRK23rYv X-Received: by 2002:a62:ca03:: with SMTP id n3mr24887303pfg.241.1550497624698; Mon, 18 Feb 2019 05:47:04 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1550497624; cv=none; d=google.com; s=arc-20160816; b=KJifs16lRy1ujB4aup/EAA96x3X0UzWD1uvqIAIojXBthadRyVMq8MNWFo9JI7z+6h 5k35B9hVI/dR5GubunPp0kHb8Ypd9esJxY9HLaZ+u/hVNcqXzmivHhvXEPiTIkkM0KU4 wWlrJW2ZvPNU0WRdKTVkMSfoNKOngcaR2LHZ7ZMIfhicmkL7y3ZD7ACGvnB8ThH0u/as LYvT+zg2MwLHtHr6euX4V92GvNQFw5sBFSaC0WE4tnomdIWZssEjSNxzZvBWGm3znwtN qsuyP1dx1eJfME5wAOI8rTZrt+Wi9Y9WxOMG6q6SFwAsgV8JV+StchiWEd8KZWQXil1S N9qw== 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=jkkoYHTxnCeJEaYpPpCxoXKKM+KuEfAuLdT11gpTSAE=; b=Hh1b3C+jsTaQyhBUUbvoGCzPHrHjlf3caJWdpI2ePf+OEEnxifEB5tCTGM28VOYgYG 2g3mSwepbcRxFYyUPyaoRN7Sxtb4wnGEfJGqqE26ayQ6BkN5/YKXVViafF7/2ncaOmEM D7ODW3qRejBdVQ3CBO5GeH63Ywvi+mia48P+6IJA1iOvgM08dJa66sSxwPTE5RrToXU6 0lgrh1deIV5x5JhQvFRS1R9zb415I6F3eJRGWrS/aBSKA8ceeUWSlPQxva6OrN2urmd5 iGVSwyA4Q3UTYxsLwvviqui37+/kjDLuvLMBEN5yKykzcbYUJ9rMFuJxEqB1xCND95d8 Z3uQ== ARC-Authentication-Results: i=1; mx.google.com; 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 g8si3094599pgd.52.2019.02.18.05.46.42; Mon, 18 Feb 2019 05:47:04 -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; 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 S1730862AbfBRNHH convert rfc822-to-8bit (ORCPT + 99 others); Mon, 18 Feb 2019 08:07:07 -0500 Received: from coyote.holtmann.net ([212.227.132.17]:55152 "EHLO mail.holtmann.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728833AbfBRNHG (ORCPT ); Mon, 18 Feb 2019 08:07:06 -0500 Received: from marcel-macpro.fritz.box (p4FF9F361.dip0.t-ipconnect.de [79.249.243.97]) by mail.holtmann.org (Postfix) with ESMTPSA id 87926CF2C7; Mon, 18 Feb 2019 14:14:58 +0100 (CET) Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 (Mac OS X Mail 12.2 \(3445.102.3\)) Subject: Re: [PATCH 3/6] Bluetooth: mediatek: fix up an error path to restore bdev->tx_state From: Marcel Holtmann In-Reply-To: Date: Mon, 18 Feb 2019 14:07:05 +0100 Cc: robh+dt@kernel.org, mark.rutland@arm.com, Johan Hedberg , devicetree@vger.kernel.org, linux-bluetooth@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-mediatek@lists.infradead.org, linux-kernel@vger.kernel.org Content-Transfer-Encoding: 8BIT Message-Id: References: To: sean.wang@mediatek.com X-Mailer: Apple Mail (2.3445.102.3) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Sean, > Restore bdev->tx_state with clearing bit BTMTKUART_TX_WAIT_VND_EVT > when there is an error on waiting for the corresponding event. > > Fixes: 7237c4c9ec92 ("Bluetooth: mediatek: Add protocol support for MediaTek serial devices") > Signed-off-by: Sean Wang > --- > drivers/bluetooth/btmtkuart.c | 2 ++ > 1 file changed, 2 insertions(+) patch has been applied to bluetooth-next tree. Regards Marcel