Received: by 2002:a05:6902:102b:0:0:0:0 with SMTP id x11csp1015065ybt; Fri, 19 Jun 2020 21:40:30 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzLkNYI9NBV3Z0UAyLl/pX6utRcX+U0W2FWPe1gwkWfKNc3SYc/gXtUnigH/o+rQSvy5T4a X-Received: by 2002:a50:f1d9:: with SMTP id y25mr6310075edl.292.1592628030509; Fri, 19 Jun 2020 21:40:30 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1592628030; cv=none; d=google.com; s=arc-20160816; b=ktXclWAPXcSPgNmJUH6h39NRlhw4os/bDzBwRd2FYx49SHTOROmPUtVclJKgHkTzEV KIAem0aMTXw0W0G4mcZZQoDa1HECAMspL4lUx2VnBloWb3IFpcjkDTVovtoBum/SabLG 2YIycvGyLilMVcYByOPqS5RaDBtyX/47eKO7mSJcP0qXOJ3t8zR026SN3asMKclxT5Lb 0gvBxndGy6hUK3+empEBUd5RKbNL2Rz6sDhYcvHEzmL/mv7VELiX7DZVPDHxgNUNraIP HM4dADLI55WWh7K97u61SRXb1CrRXE2v9qTG/4oJEm5GVLiyy49UOqiw6vQSUzIeFueg VuVQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from:dkim-signature; bh=mQyV9oA90nw/l5PmfxypuRikaoz6DxZG8g7s7v+PD9k=; b=jydMSUlO8aK6AYoaa1436HhKvqzOyFDtgtcH4s0q1Bnuk4LEi23TU0uCwveETenwhc KTH9QhVkYZCV04pmTZx2skwYvAb+FkhpjaP1MbdTrCrmIbKCuCQUI986pLyI8fwyIzym Bdo8sjGHgsTvvSr1BqKKj7jEeQuhJ6qu1JXzb83V1UIQMmkvt1q6RIFixJPR4GNDakx2 jkoQbOaN6dvMWnJ3Bk70T4M/avCRHHFuQ1HNSOYPNqA6wEQVdBxzucaE1p2wsKh+g5n8 c77GiEme7FyJgiJQXFZFpCd2sD+87/fOGhfBR5L7h4kqxVy/rrHNGy1arMkPR/z907NI D6ZQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@mediatek.com header.s=dk header.b=BNLhfgA+; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=mediatek.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id b14si5347249eju.419.2020.06.19.21.40.08; Fri, 19 Jun 2020 21:40:30 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@mediatek.com header.s=dk header.b=BNLhfgA+; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=mediatek.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2388315AbgFST72 (ORCPT + 99 others); Fri, 19 Jun 2020 15:59:28 -0400 Received: from mailgw01.mediatek.com ([210.61.82.183]:28670 "EHLO mailgw01.mediatek.com" rhost-flags-OK-FAIL-OK-FAIL) by vger.kernel.org with ESMTP id S1726940AbgFST71 (ORCPT ); Fri, 19 Jun 2020 15:59:27 -0400 X-UUID: daa762d178254e3cb1cb5e180b4705b4-20200620 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=mediatek.com; s=dk; h=Content-Transfer-Encoding:Content-Type:MIME-Version:Message-ID:Date:Subject:CC:To:From; bh=mQyV9oA90nw/l5PmfxypuRikaoz6DxZG8g7s7v+PD9k=; b=BNLhfgA+H0RSegHq7gnNU1th0W2/Kr0jPoi51NdIPX9rKM/EQDa7e213hodBwSWe7wkEa34Um+Nb9R2kykyQT2oNV1LBOPSP1MCpw1o0U6EyxaOQHYrmf1+4B8IUq8nEHBQOf2P4+CxMKo3+DBAvfr6dSoB8YN3g/9224SUkrUE=; X-UUID: daa762d178254e3cb1cb5e180b4705b4-20200620 Received: from mtkcas10.mediatek.inc [(172.21.101.39)] by mailgw01.mediatek.com (envelope-from ) (Cellopoint E-mail Firewall v4.1.10 Build 0809 with TLS) with ESMTP id 821304996; Sat, 20 Jun 2020 03:59:21 +0800 Received: from mtkcas08.mediatek.inc (172.21.101.126) by mtkmbs06n2.mediatek.inc (172.21.101.130) with Microsoft SMTP Server (TLS) id 15.0.1497.2; Sat, 20 Jun 2020 03:59:15 +0800 Received: from mtkswgap22.mediatek.inc (172.21.77.33) by mtkcas08.mediatek.inc (172.21.101.73) with Microsoft SMTP Server id 15.0.1497.2 via Frontend Transport; Sat, 20 Jun 2020 03:59:11 +0800 From: To: , , , , , , , , , , , , , , CC: , , , , , Sean Wang , Steven Liu , Ryder Lee Subject: [PATCH v4] tty: serial: don't do termios for BTIF Date: Sat, 20 Jun 2020 03:59:14 +0800 Message-ID: <78efa2b1e2599deff4d838b05b4054ec5ac2976a.1592595601.git.sean.wang@mediatek.com> X-Mailer: git-send-email 1.7.9.5 MIME-Version: 1.0 Content-Type: text/plain X-TM-SNTS-SMTP: F0184A2B374C0FECDB916DDE74159AA926AA2C638F0BA363607752D2529A60792000:8 X-MTK: N Content-Transfer-Encoding: base64 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org RnJvbTogU2VhbiBXYW5nIDxzZWFuLndhbmdAbWVkaWF0ZWsuY29tPg0KDQpCbHVldG9vdGggSW50 ZXJmYWNlIChCVElGKSBpcyBkZXNpZ25lZCBkZWRpY2F0ZWRseSBmb3IgTWVkaWFUZWsgU09DIHdp dGgNCkJUIGluIG9yZGVyIHRvIGJlIGluc3RlYWQgb2YgdGhlIFVBUlQgaW50ZXJmYWNlIGJldHdl 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