Re: [PATCH 3/6] Input: psmouse - rearrange Focaltech init code

2015-12-11 Thread Pali Rohár
On Saturday 28 November 2015 21:13:53 Dmitry Torokhov wrote: > The fact that we were calling focaltech_init() even when Focaltech support > is disabled was confusing. Rearrange the code so that if support is > disabled we continue to fall through the rest of protocol probing code > until we get to

Re: [PATCH 3/6] Input: psmouse - rearrange Focaltech init code

2015-12-11 Thread Pali Rohár
On Saturday 28 November 2015 21:13:53 Dmitry Torokhov wrote: > The fact that we were calling focaltech_init() even when Focaltech support > is disabled was confusing. Rearrange the code so that if support is > disabled we continue to fall through the rest of protocol probing code > until we get to

[PATCH 3/6] Input: psmouse - rearrange Focaltech init code

2015-11-28 Thread Dmitry Torokhov
The fact that we were calling focaltech_init() even when Focaltech support is disabled was confusing. Rearrange the code so that if support is disabled we continue to fall through the rest of protocol probing code until we get to full reset that Focaltech devices need to work properly. Also,

[PATCH 3/6] Input: psmouse - rearrange Focaltech init code

2015-11-28 Thread Dmitry Torokhov
The fact that we were calling focaltech_init() even when Focaltech support is disabled was confusing. Rearrange the code so that if support is disabled we continue to fall through the rest of protocol probing code until we get to full reset that Focaltech devices need to work properly. Also,