Received: by 10.223.176.46 with SMTP id f43csp2609057wra; Mon, 22 Jan 2018 00:00:01 -0800 (PST) X-Google-Smtp-Source: AH8x224+xqe7ZcKmeeqtBKFD+4ZCsJlfJqWpVeQHfMN2jIlvD3BUs4dfImnBVA3jpVChdWODirfZ X-Received: by 10.98.220.195 with SMTP id c64mr7595403pfl.47.1516608001714; Mon, 22 Jan 2018 00:00:01 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1516608001; cv=none; d=google.com; s=arc-20160816; b=zgoJ+xbxVEsi5uazEuAooGmPnp3WAe7er5m4QPz1Qd6NFlbtFG/1N0SP0v7BOcq1O/ jphuFK7aUAgRPisXPasucTvwuSlv/DuFuHffv28Hy5xsbvwRlnKYvzdOhPnLP599eBec 3w2I2EDPbGMbSV8iyk1aOesGqI9pN0kk3SWTVCa0kbUD2uNQ5y7qvlM79b/qARcUT0q7 WLazEl5OJV3Mgc1xKlsvYqFXdxNmjYqfGAqdDTG+u/Xeq+reuVgbrWHZg12j/GvuJCgj SyjwK/NEkOL6zEzShFLkANx2UwsIHvdKXvEzccaC1/qK+5drT6UnZEQfWYasuOPEwyHn 7tJg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:references:in-reply-to:message-id:date :subject:cc:to:from:dkim-signature:arc-authentication-results; bh=dx0gb+Vt90bSKOxABsM2FWLkPaR6scxY8j3PxxRAIcs=; b=jWp1OmSsBokPPbwh0UGN65cCu4Cn0JasCZGHrsGUtt6V9pHXix9nyIEUoN53eSRTK5 PR/7zem3RgBGXkYRGaDjZuajJIUFXWxZCZ4J8NFhz6/qox24GVhESLfd+TWBxXngmBAG M/C59CfNfjqX9Ya0ty+K94LeZDZpC/VVL8xxtGz2i2pacyDiGo26ChCHKabk/DDVYn04 MgtLBA6IlNYUe6E9zso9e22g2rinDGev+fQfwoAK9+D8Zwwf9tC5ukCB2DXy/cjnt63o BQ9Cl91pNwotq3WZCyQ5PWaaHp+ZDaY35feyUUvBoLetCxXnQo51UzPEE6G5JC4CJl9C hx+A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=V/9jQh9h; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id k66si13691756pgc.97.2018.01.21.23.59.47; Mon, 22 Jan 2018 00:00:01 -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; dkim=pass header.i=@gmail.com header.s=20161025 header.b=V/9jQh9h; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751214AbeAVH7Q (ORCPT + 99 others); Mon, 22 Jan 2018 02:59:16 -0500 Received: from mail-pf0-f196.google.com ([209.85.192.196]:37140 "EHLO mail-pf0-f196.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751157AbeAVH66 (ORCPT ); Mon, 22 Jan 2018 02:58:58 -0500 Received: by mail-pf0-f196.google.com with SMTP id p1so6477215pfh.4; Sun, 21 Jan 2018 23:58:58 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=dx0gb+Vt90bSKOxABsM2FWLkPaR6scxY8j3PxxRAIcs=; b=V/9jQh9h31jQhz+D1aVptvLGqTAIvHnUaxXNfWFxEJZvOdCC+4BEZYbIwzfqtdU8OV XxhzwEs3xaZVrJpj/Npl2f3rqrk2dgcvsvVVEv0iEYjV250ZXD+pN8jXjRP5SJzIk08s ldoUGWWZsbCW3TMcSPAPChrU2AoIB5QmPDH9XMbhzVBpoc4Iyl1eaFlUekNh+A/ucLBw 8gtkFe9pxHz+skC2r6Nm4ltuj4y3/LoQMb/+bht/zMEi8d+d2IqtqXsr2ZM0z2mqzuy3 4tPUtP+DiEPcXScWaqGqUttaJdkzs2E4jjGV2CMMA0PS2MGutY2qCVuk7gKQVDUrWz+6 cONw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=dx0gb+Vt90bSKOxABsM2FWLkPaR6scxY8j3PxxRAIcs=; b=KbfP3zvLynnt7ARmwukixR+g6cxX1tNtNmEcUqvTKE45DPkLFoqo84eDEdw/6Ikb4V a7ZdCLtn/GQD4PK2hBMwleU8ctMdmEzQ4UPpPt7fCW1CW6qRfmkNcfAjR0A0to/L5Jmj Ug6xfw4/ilDUtvfPjMvsGX8PbCn+kkG47+9PwMsdnfxDPYuBWdfevLQ8xUXeAIcn7RQ3 Zi15jLSbCEZNUqAK/L+nVPlxFsvoCVkT6qKom8yjswciAiV7F2eQTK54xeAFVQgvFvZt 221nz2/osDhYodwgSPnPYOowhBCVbcxQuJWDuc6TI85Ni0/FDTezmcrbeTruK55FlBk0 iQMw== X-Gm-Message-State: AKwxytdzkQ/mwI9qZ3JkWE0/fU26aEaPCz3rTAqMv6wgOXPP7Mxkg6HP j3g3OZDZZl+FuHoF4hagz3fxe+ni X-Received: by 2002:a17:902:67:: with SMTP id 94-v6mr2938404pla.183.1516607937978; Sun, 21 Jan 2018 23:58:57 -0800 (PST) Received: from localhost (59-120-186-245.HINET-IP.hinet.net. [59.120.186.245]) by smtp.gmail.com with ESMTPSA id y5sm20705963pfd.163.2018.01.21.23.58.57 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sun, 21 Jan 2018 23:58:57 -0800 (PST) From: "Ji-Ze Hong (Peter Hong)" X-Google-Original-From: "Ji-Ze Hong (Peter Hong)" To: johan@kernel.org Cc: gregkh@linuxfoundation.org, linux-usb@vger.kernel.org, linux-kernel@vger.kernel.org, peter_hong@fintek.com.tw, "Ji-Ze Hong (Peter Hong)" Subject: [PATCH 5/5] USB: serial: f81232: fix bulk_in/out size Date: Mon, 22 Jan 2018 15:58:47 +0800 Message-Id: <1516607927-8887-5-git-send-email-hpeter+linux_kernel@gmail.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1516607927-8887-1-git-send-email-hpeter+linux_kernel@gmail.com> References: <1516607927-8887-1-git-send-email-hpeter+linux_kernel@gmail.com> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Fix Fintek F81232 bulk_in/out size to 64/16 according to the spec. http://html.alldatasheet.com/html-pdf/406315/FINTEK/F81232/1762/8/F81232.html Signed-off-by: Ji-Ze Hong (Peter Hong) --- drivers/usb/serial/f81232.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/drivers/usb/serial/f81232.c b/drivers/usb/serial/f81232.c index a054f69446fd..f3ee537d643c 100644 --- a/drivers/usb/serial/f81232.c +++ b/drivers/usb/serial/f81232.c @@ -769,8 +769,7 @@ static struct usb_serial_driver f81232_device = { }, .id_table = id_table, .num_ports = 1, - .bulk_in_size = 256, - .bulk_out_size = 256, + .bulk_out_size = 16, .open = f81232_open, .close = f81232_close, .dtr_rts = f81232_dtr_rts, -- 2.7.4