Received: by 2002:a05:6a10:a0d1:0:0:0:0 with SMTP id j17csp2019285pxa; Mon, 24 Aug 2020 02:44:34 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyjliFePlbLJ1ks8QWhwD+HmyIAODOb7WUL3FLcyTmSRiSpLolyJ0yB8Wczlm+q5dswpx4V X-Received: by 2002:aa7:d981:: with SMTP id u1mr4464403eds.311.1598262273873; Mon, 24 Aug 2020 02:44:33 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1598262273; cv=none; d=google.com; s=arc-20160816; b=rmjrkn23R+9P4664K3Bh0frwoYzPtzTYK5wZzQf44Tn3m9OJOsMi/sh+mUljjaDCr0 zk2U1yJxiSDuWx6IzUIQFbLYFt+8MXEnoWF2+thYTDRzR7Gpo0aAXMShpppJ++/Ueqsc iOPirxJPWWoJQi0smHH6tAH0zoB3YjL8megLFWRQwgzAoRwCenZXw9f9FdRST8iziivd fipLQrOtH17CabavFhW0SCaxToRsp21j1pRiAYMJ2wq8KunbadhYLgxdvEntl0HRDQjb PZN+DUtpprwA6pamPMdjZQQAJgPPWMrZH+2uN6Wb9ce8MvM6ayS3RXyKnOaefQDcpaVo OpaA== 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=B+sPpbAS75cGxaYopa1UoLFzKyaPQjVAHOZZ21i/IqI=; b=uc4W3FKBnTlXHXMWHBs7YyAOp5RM5yo7AJD4FcvMppudVUzFzPIrH7dQV6szu15yuc ZSUTS4iS/6cdKzSMC+ueNZC4AxblpQqjP+xdYJOAy1gZX0Bw/er8efYdFx8R4vzmITRt a2BfDju5lIslOElqrwSuany7QiGkzCaLcvWGXE6l26u2Sjx1eZS2Ocvt5jDJeXRhPHJ7 +CAdTdY70ECvdKFbEs4c0e4Xa4CoE9sotCXPshsSo7FN5Ti6Dn+bIwhsX6/CXeZiKwbz W4X+30JkGoMUTkzjMQdJJ51eyLG8DuH38dRBYWGWWeXVinHKN+OHThuTTlAFgSjCHYZm 8zNw== 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 b19si6705255ejd.405.2020.08.24.02.44.10; Mon, 24 Aug 2020 02:44:33 -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 S1729224AbgHXJnP (ORCPT + 99 others); Mon, 24 Aug 2020 05:43:15 -0400 Received: from mail-lf1-f68.google.com ([209.85.167.68]:38337 "EHLO mail-lf1-f68.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729176AbgHXJnL (ORCPT ); Mon, 24 Aug 2020 05:43:11 -0400 Received: by mail-lf1-f68.google.com with SMTP id k10so1144093lfm.5; Mon, 24 Aug 2020 02:43:08 -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=B+sPpbAS75cGxaYopa1UoLFzKyaPQjVAHOZZ21i/IqI=; b=fu8wQ7QFQpFE0Uv2l3IpS1bvMo4pYxj6hnQyCsNhWJEHS6xKmP3Pdb8U6boyiSO1+3 oEdFS0jFXaQg15GC2JLhH7X+0Su15vp1Ar+T6V8VRqpgEYPwRkjJwbfbpBfanUizjXXg rEvL6PUa4uQuwf/ilWe6prBafDVa6WNRHqRc2sqNii5WY7Ny3lEO//dGxFOwyBoIhBVU fZPYHzaayXTDViJ0IV4bg875Q+OKBG5lGQqKtXTyNaq9xWs0UtbClqya/MSH2LHjGYTI iKmSyNS8W/EmB5k8DkU9DWjbXqLXF+ickzVv7vfyKXw280CFgoQAWpdp9jdWGevG2WUV vP8w== X-Gm-Message-State: AOAM533uasoIZKqtN5k0W/FOJXUh62mXSbPB+ZKy1gKD3l5LfgabZkWO WWJMt6ADvcrm2UtuM9xPrbM= X-Received: by 2002:ac2:5235:: with SMTP id i21mr2251097lfl.96.1598262188023; Mon, 24 Aug 2020 02:43:08 -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 b17sm2105269ljp.9.2020.08.24.02.43.07 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 24 Aug 2020 02:43:07 -0700 (PDT) Received: from johan by xi.terra with local (Exim 4.93.0.4) (envelope-from ) id 1kA90N-0007A7-1V; Mon, 24 Aug 2020 11:43:07 +0200 Date: Mon, 24 Aug 2020 11:43:07 +0200 From: Johan Hovold To: Jan Kiszka Cc: "Wang, Sheng Long (EXT) (RC-CN DI FA R&D SW)" , Johan Hovold , Sheng Long Wang , "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: <20200824094307.GE21288@localhost> References: <20200820075240.13321-1-china_shenglong@163.com> <97836b78-740b-cf70-4803-27305b6e0a4d@siemens.com> <20200824090948.GC21288@localhost> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, Aug 24, 2020 at 11:36:50AM +0200, Jan Kiszka wrote: > On 24.08.20 11:28, Wang, Sheng Long (EXT) (RC-CN DI FA R&D SW) wrote: > > Hi Johan, > > > > Thanks for your reminding. I am adjusting patch according to the latest Linux Master branch. > > Use git.kernel.org/pub/scm/linux/kernel/git/johan/usb-serial.git, branch > is likely usb-linus, as Johan requested - just in case there is another > conflict due to a patch not yet in Linux master but in that tree. The usb-next is used for new features like this one, but again, currently Linus's master branch works as well. > > -----Original Message----- > > From: Johan Hovold > > Sent: Monday, August 24, 2020 5:10 PM > > To: Kiszka, Jan (CT RDA IOT SES-DE) > > Cc: Sheng Long Wang ; Wang, Sheng Long (EXT) (RC-CN DI FA R&D SW) ; 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 > > > > 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. > > Thanks for correcting! But it's scripts/get_maintainer.pl. ;) Heh. Thanks for catching that. Johan