Re: [PATCH v4 05/13] USB: ch341: reinitialize chip on reconfiguration

2016-04-29 Thread Johan Hovold
On Fri, Apr 15, 2016 at 11:14:08PM +0200, Grigori Goronzy wrote: > Changing the LCR register after initialization does not seem to be > reliable on all chips (particularly not on CH341A). Restructure > initialization and configuration to always reinit the chip on > configuration changes instead an

[PATCH v4 05/13] USB: ch341: reinitialize chip on reconfiguration

2016-04-15 Thread Grigori Goronzy
Changing the LCR register after initialization does not seem to be reliable on all chips (particularly not on CH341A). Restructure initialization and configuration to always reinit the chip on configuration changes instead and pass the LCR register value directly to the initialization command. v2