Received: by 2002:ac0:946b:0:0:0:0:0 with SMTP id j40csp2418236imj; Mon, 18 Feb 2019 05:45:59 -0800 (PST) X-Google-Smtp-Source: AHgI3IbkMWGReoNilThjY2lqDWoykK6VUqUc9x0FdlfZqyWzUpjf9gACViKLdk6N3qkqfQ2pHx3n X-Received: by 2002:a17:902:1:: with SMTP id 1mr24221229pla.276.1550497558921; Mon, 18 Feb 2019 05:45:58 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1550497558; cv=none; d=google.com; s=arc-20160816; b=pIrUv4htvveeXjEbma76mWQozsKWP7wpSgO1rpNaltxpFL3iwLVwqmK94NF89q6EyU 8yyKNGFLreB3QDWtVeMEI3K2El70Pohg5Chu4TG/kBkfawJ+ysBXAhR8GRTjk1kj3DRK cljEarA/h2UX2TslPDFFLutwPuG39XSPIGQ/SSSHmp3SdTxjzp9xr50g+lKOziPp0IZY mwQ2D6vhVPNhhe1iDyhMhUtcfCSJl1To0Zqd2iZP2nOgqZ2MR1g4zNj2T2Nk//P3B29A aaLbEB6vdMCepwYKbLbiXmqow5G8iRfYPo7IoM40QoGFgazlPlBruPCTqYsifgAhy9KL gVIA== 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=wu+G5P1OyZyT8EsfQlrLa38FXgkDiSk33Dd/4ouXmkw=; b=JKIHhV7Mw+O6ghcCZywqXxZTUKCqrzLgVsxjG/MR2LolJUb5N/eXHHD2uUr0vBSmcs 8D3YdJ5ad28EG5x8ldNomAfWlfvugwIPao5DhdM1oqx8Su1BcyO92e3BBFK26A5bh7q3 Wp+MU6E35BtVJqWfWN9UmPdEbKNxyci75lJMoXDLPjsiyqqPfy62IaqMf08E9I5lL7Z/ qIaS9KRxcMeA2ebQTcImJ5llbXhjJIyFxNdCh4Q3K5RiYgb4K3TbMYOtZ0nf9Z3MbcbM B/dFcISmyKyjGSjkLaW+V/pvq90LYm2MzFx2MuSgbJGvDkF+szWbp2wNP89bo3gFPaNH XWBA== 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 g11si13037496pgn.32.2019.02.18.05.45.42; Mon, 18 Feb 2019 05:45:58 -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 S1730844AbfBRNJe convert rfc822-to-8bit (ORCPT + 99 others); Mon, 18 Feb 2019 08:09:34 -0500 Received: from coyote.holtmann.net ([212.227.132.17]:57406 "EHLO mail.holtmann.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729750AbfBRNJd (ORCPT ); Mon, 18 Feb 2019 08:09:33 -0500 Received: from marcel-macpro.fritz.box (p4FF9F361.dip0.t-ipconnect.de [79.249.243.97]) by mail.holtmann.org (Postfix) with ESMTPSA id 45467CF2C7; Mon, 18 Feb 2019 14:17:25 +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 5/6] Bluetooth: mediatek: update the common setup between MT7622 and other devices From: Marcel Holtmann In-Reply-To: <9ea118140651636b3b868e28004d474ded4af5b6.1550184473.git.sean.wang@mediatek.com> Date: Mon, 18 Feb 2019 14:09:31 +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: <9ea118140651636b3b868e28004d474ded4af5b6.1550184473.git.sean.wang@mediatek.com> To: Sean Wang 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, > Update the setup sequence on MT7622 to apply the same flow with MT7663U > and MT7668U USB [1] as much as possible. These additional commands are > required to parse the corresponding event to determine what current state > the Bluetooth device is on and thus it's necessary to extend > mtk_hci_wmt_sync to support the reading status in the same patch. > > [1] http://lists.infradead.org/pipermail/linux-mediatek/2019-January/017074.html > > Signed-off-by: Sean Wang > --- > drivers/bluetooth/btmtkuart.c | 204 +++++++++++++++++++++++++++++++--- > 1 file changed, 190 insertions(+), 14 deletions(-) patch has been applied to bluetooth-next tree. Regards Marcel