[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <faddf44e-db1d-46e5-b6db-88168b0cc808@siemens.com>
Date: Mon, 24 Aug 2020 11:36:50 +0200
From: Jan Kiszka <jan.kiszka@...mens.com>
To: "Wang, Sheng Long (EXT) (RC-CN DI FA R&D SW)"
<shenglong.wang.ext@...mens.com>, Johan Hovold <johan@...nel.org>
Cc: Sheng Long Wang <china_shenglong@....com>,
"gregkh@...uxfoundation.org" <gregkh@...uxfoundation.org>,
"linux-usb@...r.kernel.org" <linux-usb@...r.kernel.org>,
"linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>
Subject: Re: [PATCH v3] usb-serial:cp210x: add support to software flow
control
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.
>
> With best regards,
> Wang Sheng Long
> Siemens Ltd., China
> RC-CN DI FA R&D SW
> Tianyuan road No.99
> 611731 CHENGDU, China
> Mobil: +86 15281074996
> mailto:shenglong.wang.ext@...mens.com
>
>
>
> -----Original Message-----
> From: Johan Hovold <johan@...nel.org>
> Sent: Monday, August 24, 2020 5:10 PM
> To: Kiszka, Jan (CT RDA IOT SES-DE) <jan.kiszka@...mens.com>
> Cc: Sheng Long Wang <china_shenglong@....com>; Wang, Sheng Long (EXT) (RC-CN DI FA R&D SW) <shenglong.wang.ext@...mens.com>; johan@...nel.org; gregkh@...uxfoundation.org; linux-usb@...r.kernel.org; linux-kernel@...r.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 <shenglong.wang.ext@...mens.com>
>>>
>>> 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 <shenglong.wang.ext@...mens.com>
>>>
>>> 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. ;)
Jan
--
Siemens AG, Corporate Technology, CT RDA IOT SES-DE
Corporate Competence Center Embedded Linux
Powered by blists - more mailing lists