Received: by 2002:a05:6a10:a0d1:0:0:0:0 with SMTP id j17csp2004141pxa; Mon, 24 Aug 2020 02:10:51 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwjjJ5DRRqSAuIgMljoPrrs849eLFz6F2GHPMPIhiXvIihHeXbKMCZ3rRDxel2jfaZmtPRO X-Received: by 2002:a17:906:1986:: with SMTP id g6mr4881770ejd.404.1598260251189; Mon, 24 Aug 2020 02:10:51 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1598260251; cv=none; d=google.com; s=arc-20160816; b=JoiPBE9+LhDFrHkVWUulyEB/doQlbh40VLKDyJ0TYd1MO0M3HMC+k2ZJXCt8AJQXTF I4j+PzmP7QrO00tNlU1xtQ96jdabL9kz/9Q1xK3T957AdjlkNsves5ck9gcyNsVAGS2A egABbtiYoKtHR6+yP8glLNbT/ICIz9g0lgy62vKEkvukvtJWhnAh9rvcgoQ0h3zWIYz8 Iw3zPYqa1P7TmKPvOR/S3xSnCNT4e6zxThWPZpBR9MMW3q7eSjOsV/JkRHFP3g2PNv0h XdlaH34nw+cuW9tI8rIG8WrpraZUUVljKfFEhUDHEHxK7H/+hl4+yRd5Wp+ijhPzRzud psCg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:in-reply-to:content-disposition :mime-version:references:message-id:subject:cc:to:from:date; bh=U7/56Iwa7YQEpMgvq8Bu6RRnpFZYJtOeNNKEyzZ2Vs4=; b=JIOPacuC+UwWdb03zdnQNrpORb+ANKqKzGtEw7U6XmFGBmmpYZk36xi6xjPa2f8wKh 0GdLZL2kLnVcV8wK0m8X8a+4kqFM9xzDpMW6oImxvy1MwTi5IIRcHS12cLFCCE6e+bXA pDtGzxbe3TZjeTzntlO7IHq5U1yQE0gnElqt80NriutcGk7ftvF+Rzi8YrVEyRXgV1r7 aRbsCdCmGSoYvExK5SgqTDAA1RKomFus4AiutbtMl2YHQp+tFGFcjsU/Hij5IGUKj07M XZWBp7lRy2QqO3zAGCsX8y4ENo51FMvGd5X6kxTNwFVVezdterjw1v2pTGABNJ+RIVI6 4pJQ== ARC-Authentication-Results: i=1; mx.google.com; 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=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id f12si7287141edx.86.2020.08.24.02.10.28; Mon, 24 Aug 2020 02:10:51 -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; 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=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729356AbgHXJJ6 (ORCPT + 99 others); Mon, 24 Aug 2020 05:09:58 -0400 Received: from mail-lj1-f193.google.com ([209.85.208.193]:42750 "EHLO mail-lj1-f193.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728004AbgHXJJz (ORCPT ); Mon, 24 Aug 2020 05:09:55 -0400 Received: by mail-lj1-f193.google.com with SMTP id t6so8739845ljk.9; Mon, 24 Aug 2020 02:09:50 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to; bh=U7/56Iwa7YQEpMgvq8Bu6RRnpFZYJtOeNNKEyzZ2Vs4=; b=bCREDG9alefGYSVc907gN1FXHOUsXNA1Q6mAmND3urMoUVGBl+q+hsyT3jwaxMwj3h ihbAJgU4al8FpQCWcN68Ykj4/TIk2L5CnCrq/PyUVkjITYOzjhxTNiBjxvBQbspVAwDD masBBzyAcKtYY1m+3CnQjNebDCnmhls714yp4M51iVUuvs5OFiSHB1PKAgoPyOEdH0FD 4Jz/F3PzVgBH/HkSb2P3P2fIpQEZEo34bZuBOmp2WC3HWkQvbjOpzgEXHYvCd+AfdIvF 1p8zKc5K7EVw/lhVTNHO26gw4Sy+P104bPA06jqZehfywPW2k5IKS2a9SaLruBKnIeed ALkw== X-Gm-Message-State: AOAM533vuHmN34lojnjRgNrTLxGPUCwyTOof2tjiYCSakoXIll2ybALR 8iD2hS/z6dK9XyNndyyAjTs= X-Received: by 2002:a2e:3503:: with SMTP id z3mr2063054ljz.336.1598260190098; Mon, 24 Aug 2020 02:09:50 -0700 (PDT) Received: from xi.terra (c-beaee455.07-184-6d6c6d4.bbcust.telenor.se. [85.228.174.190]) by smtp.gmail.com with ESMTPSA id v9sm634414lfe.10.2020.08.24.02.09.49 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 24 Aug 2020 02:09:49 -0700 (PDT) Received: from johan by xi.terra with local (Exim 4.93.0.4) (envelope-from ) id 1kA8U8-0006v3-SJ; Mon, 24 Aug 2020 11:09:48 +0200 Date: Mon, 24 Aug 2020 11:09:48 +0200 From: Johan Hovold To: Jan Kiszka Cc: Sheng Long Wang , Wang Sheng Long , johan@kernel.org, gregkh@linuxfoundation.org, linux-usb@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH v3] usb-serial:cp210x: add support to software flow control Message-ID: <20200824090948.GC21288@localhost> References: <20200820075240.13321-1-china_shenglong@163.com> <97836b78-740b-cf70-4803-27305b6e0a4d@siemens.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <97836b78-740b-cf70-4803-27305b6e0a4d@siemens.com> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, Aug 21, 2020 at 07:32:58AM +0200, Jan Kiszka wrote: > On 20.08.20 09:52, Sheng Long Wang wrote: > > From: Wang Sheng Long > > > > When data is transmitted between two serial ports, > > the phenomenon of data loss often occurs. The two kinds > > of flow control commonly used in serial communication > > are hardware flow control and software flow control. > > > > In serial communication, If you only use RX/TX/GND Pins, you > > can't do hardware flow. So we often used software flow control > > and prevent data loss. The user sets the software flow control > > through the application program, and the application program > > sets the software flow control mode for the serial port > > chip through the driver. > > > > For the cp210 serial port chip, its driver lacks the > > software flow control setting code, so the user cannot set > > the software flow control function through the application > > program. This adds the missing software flow control. > > > > Signed-off-by: Wang Sheng Long > > > > Changes in v3: > > -fixed code style, It mainly adjusts the code style acccording > > to kernel specification. > > Patch does not apply. You forgot to rebase over latest tty/tty-next or > linux master. That should be the usb-next branch of the usb-serial tree: https://git.kernel.org/pub/scm/linux/kernel/git/johan/usb-serial.git/ or linux-next (or, currently, Linus's master branch). You can use "scripts/get_maintainer.sh --scm" to determine which tree to base your work against. Johan