Received: by 2002:a05:6902:102b:0:0:0:0 with SMTP id x11csp90174ybt; Tue, 7 Jul 2020 17:00:01 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzz5SRwG3958uvmyFmyY6kk8G6QvQrKqrWOuoLD4H6pNDTuyg7M4DYZizSX5WLu6WiIP1oO X-Received: by 2002:a05:6402:1777:: with SMTP id da23mr62915665edb.260.1594166401004; Tue, 07 Jul 2020 17:00:01 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1594166400; cv=none; d=google.com; s=arc-20160816; b=k/JQVaVCYB7BjB+VgvGPucd1fK4rZh5uBp5JPCq/OnOZKanl6PjV/Lq5+lay8b+xxf mLQ+SDClTQmWpjXlf+lWHwjB6xYecS7BuF/owGZJsHOdCLn1n6IG+1OCU1WGnfdDJ8Gv llA67e86dSapA+74XWzDtV8GjboevgSA/j0WpVc/V+ODSgq8i56G6pCOG5WE7qW9AvLx qQTlWyhrfBE1rFw9o0YP4uoOl6O6cCU8FyCrjTkcwE02OZ3iNKc1vXHS8WIzi/Tx7brv t8BGlsf323afSlplToS+ogjr8miHXrqcfQgK6p2L8hsbp0g/JbkJxYMwGMJuk1GvIU5s XK5g== 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=ACgdKKQvvl0IN9nE7D17jMhl6fwZEjwiF6CEjA4GWAU=; b=ZWGSDyVO8lzGSoqTeaxkmsqC3a0TMiDxbx2KlP+YIN/dFZGqIG0nrT8Omh9sJn59kv Xu3/ExJ8yduy4IQC38mq/WReoJFlDZBk1+8kNzJUj7+31Gd6PXZDAaLDVhU2eu20dm2R HhIpal+01iQ5TlRDpLTcfy3ZV/0ElRvIu0FFwnZMfw3SMZl1GE7YUohccXyz7l4zIB+5 h2Xun0qFjIIPzXNgXhkzs/RQ4gV6uqpFQfE87SuGgGn4wAbKs8tYuqMIHRjWDX3uJ9BM UJ0nD6eWpN3ipU0oXj7fOJKjFZZ0Ey7SHlOkjYTRqd1WxDFOIyG+bqp5nekI28UsmuKC bN6A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@mediatek.com header.s=dk header.b=o3NV80BN; 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 i10si16656004edy.414.2020.07.07.16.59.06; Tue, 07 Jul 2020 17:00:00 -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=o3NV80BN; 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 S1728516AbgGGXLz (ORCPT + 99 others); Tue, 7 Jul 2020 19:11:55 -0400 Received: from mailgw01.mediatek.com ([210.61.82.183]:32565 "EHLO mailgw01.mediatek.com" rhost-flags-OK-FAIL-OK-FAIL) by vger.kernel.org with ESMTP id S1727777AbgGGXLy (ORCPT ); Tue, 7 Jul 2020 19:11:54 -0400 X-UUID: 6363544267ef4f80b9d9ec5b870c4a26-20200708 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=ACgdKKQvvl0IN9nE7D17jMhl6fwZEjwiF6CEjA4GWAU=; b=o3NV80BNsX4PmP6KgyiMYWE09jSPqxpKHDYAiV42GAs1eUcfH/QuMlmSdcI58gY/3bjvPeQpd3o+HsoQRCzQ50Laqf9jZxjpLnX/H11qW7ZUBw/QQ4Swx4RvRFG33XnQWG6w06AONjqYK87jvQRxqvE0aXQyBhU0di4beslthvg=; X-UUID: 6363544267ef4f80b9d9ec5b870c4a26-20200708 Received: from mtkcas08.mediatek.inc [(172.21.101.126)] by mailgw01.mediatek.com (envelope-from ) (Cellopoint E-mail Firewall v4.1.10 Build 0809 with TLS) with ESMTP id 729408332; Wed, 08 Jul 2020 07:11:49 +0800 Received: from MTKCAS06.mediatek.inc (172.21.101.30) by mtkmbs02n2.mediatek.inc (172.21.101.101) with Microsoft SMTP Server (TLS) id 15.0.1497.2; Wed, 8 Jul 2020 07:11:29 +0800 Received: from mtkswgap22.mediatek.inc (172.21.77.33) by MTKCAS06.mediatek.inc (172.21.101.73) with Microsoft SMTP Server id 15.0.1497.2 via Frontend Transport; Wed, 8 Jul 2020 07:11:19 +0800 From: To: , , , , , , , CC: , , , , Sean Wang , Steven Liu , Ryder Lee Subject: [PATCH v5] tty: serial: don't do termios for BTIF Date: Wed, 8 Jul 2020 07:11:22 +0800 Message-ID: <7c67171728cdcc4ccc10adfaea1a14bfbcf8375a.1594163304.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: 4F28F1CAC5E7592B35293C87473BAF934B244B4F5546B2CBC7BAF98B527E8F2A2000: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 dGgNCkJUIGluIG9yZGVyIHRvIGJlIGluc3RlYWQgb2YgdG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