Re: [PATCH] cdc-acm: fix abnormal DATA RX issue for Mediatek Preloader.

2018-12-18 Thread Johan Hovold
On Mon, Dec 17, 2018 at 01:50:58PM +0800, Macpaul Lin wrote: > On Fri, 2018-12-14 at 12:07 +0100, Johan Hovold wrote: > > On Fri, Dec 14, 2018 at 10:00:16AM +0800, Macpaul Lin wrote: > > > After the reset termios state change simply set EHCO enable, each time > > > the phone device simple send out

Re: [PATCH] cdc-acm: fix abnormal DATA RX issue for Mediatek Preloader.

2018-12-16 Thread Macpaul Lin
On Fri, 2018-12-14 at 12:07 +0100, Johan Hovold wrote: > On Fri, Dec 14, 2018 at 10:00:16AM +0800, Macpaul Lin wrote: > > On Thu, 2018-12-13 at 11:18 +0100, Johan Hovold wrote: > > > On Thu, Dec 13, 2018 at 11:13:54AM +0100, Oliver Neukum wrote: > > > > On Do, 2018-12-13 at 10:43 +0100, Johan Hovol

Re: [PATCH] cdc-acm: fix abnormal DATA RX issue for Mediatek Preloader.

2018-12-14 Thread Johan Hovold
On Fri, Dec 14, 2018 at 10:00:16AM +0800, Macpaul Lin wrote: > On Thu, 2018-12-13 at 11:18 +0100, Johan Hovold wrote: > > On Thu, Dec 13, 2018 at 11:13:54AM +0100, Oliver Neukum wrote: > > > On Do, 2018-12-13 at 10:43 +0100, Johan Hovold wrote: > > > > On Thu, Dec 13, 2018 at 11:27:56AM +0800, macp

Re: [PATCH] cdc-acm: fix abnormal DATA RX issue for Mediatek Preloader.

2018-12-13 Thread Macpaul Lin
On Thu, 2018-12-13 at 11:18 +0100, Johan Hovold wrote: > On Thu, Dec 13, 2018 at 11:13:54AM +0100, Oliver Neukum wrote: > > On Do, 2018-12-13 at 10:43 +0100, Johan Hovold wrote: > > > On Thu, Dec 13, 2018 at 11:27:56AM +0800, macpaul@mediatek.com wrote: > > > > From: Macpaul Lin > > > > > > >

Re: [PATCH] cdc-acm: fix abnormal DATA RX issue for Mediatek Preloader.

2018-12-13 Thread Johan Hovold
On Thu, Dec 13, 2018 at 11:13:54AM +0100, Oliver Neukum wrote: > On Do, 2018-12-13 at 10:43 +0100, Johan Hovold wrote: > > On Thu, Dec 13, 2018 at 11:27:56AM +0800, macpaul@mediatek.com wrote: > > > From: Macpaul Lin > > > > > > + /* handle active handshake triggered by device */ > > > + if (

Re: [PATCH] cdc-acm: fix abnormal DATA RX issue for Mediatek Preloader.

2018-12-13 Thread Oliver Neukum
On Do, 2018-12-13 at 10:43 +0100, Johan Hovold wrote: > On Thu, Dec 13, 2018 at 11:27:56AM +0800, macpaul@mediatek.com wrote: > > From: Macpaul Lin > > > > + /* handle active handshake triggered by device */ > > + if (quirks == DISABLE_ECHO) > > + acm_tty_driver->init_termios.c_

Re: [PATCH] cdc-acm: fix abnormal DATA RX issue for Mediatek Preloader.

2018-12-13 Thread Johan Hovold
On Thu, Dec 13, 2018 at 11:27:56AM +0800, macpaul@mediatek.com wrote: > From: Macpaul Lin > > Mediatek Preloader is a proprietary embedded boot loader for loading > Little Kernel and Linux into device DRAM. > > This boot loader also handle firmware updating. Mediatek Preloader will be > enum

Re: [PATCH] cdc-acm: fix abnormal DATA RX issue for Mediatek Preloader.

2018-12-13 Thread Oliver Neukum
On Do, 2018-12-13 at 11:27 +0800, macpaul@mediatek.com wrote: > From: Macpaul Lin > > Mediatek Preloader is a proprietary embedded boot loader for loading > Little Kernel and Linux into device DRAM. > > This boot loader also handle firmware updating. Mediatek Preloader will be > enumerated a

[PATCH] cdc-acm: fix abnormal DATA RX issue for Mediatek Preloader.

2018-12-12 Thread macpaul.lin
From: Macpaul Lin Mediatek Preloader is a proprietary embedded boot loader for loading Little Kernel and Linux into device DRAM. This boot loader also handle firmware updating. Mediatek Preloader will be enumerated as a virtual COM port when the device is connected to Windows or Linux OS via CDC