Hi Dmitry On Wed, Nov 17, 2010 at 4:41 AM, Iiro Valkonen <iiro.valkonen@xxxxxxxxx> wrote: > On 11/12/2010 10:10 PM, Dmitry Torokhov wrote: > Hi Dmitry, > > the current driver is written for one maXTouch chip, mXT224. The driver that I submitted will support all current >maXTouch chips, and it is built to be future-proof so it should work with yet to be released chips too, with minor or >no changes. This shows in the naming too, part name "qt602240" is deprecated and it shouldn't be used. As the >driver should work with all chips in the maXTouch family, a more generic naming convention in the driver name itself >and all the code inside the driver would be more appropriate. Having written this same driver for this IC I agree with Iiro that we should have one driver that would support multiple IC firmware revisions. Once we had the base driver completed adding functionality to the driver was a snap. Can these two drivers co-exist and let the developer decide which driver to use? Of course the Atmel driver needs to be scrubbed for problems. Now. I also strongly agree with Dmitry that the driver you are submitting is IMHO really rough and needs work. Without even reviewing the complete functionality I have many concerns about the code. For instance the header file spacing is really crazy. I am not sure if the spacing was intended but it is really hard to follow. In the source it seems like there is more debug code then functional working code. The driver should be updated to use the request_threaded_irq call and not the request_irq then there is no need for scheduling work queues. I can go on and on.... But I won't do a complete review on this driver unless Dmitry indicates that he will merge it once complete. > > Atmel would like to be the maintainer of this driver, and it would be easiest if we could use the code I submitted. Of course we would be happy to implement any improvements like the threaded IRQs. I would prefer Atmel be the maintainer as they can expedite future changes into the driver prior to releasing the support firmware. Dan ------------------------------------------------------------------------------------ Dan Murphy Texas Instruments -- To unsubscribe from this list: send the line "unsubscribe linux-input" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html