Hi Dmitry, On 8/13/10, Dmitry Torokhov <dmitry.torokhov@xxxxxxxxx> wrote: > Hi Dmitry, > > On Thu, Aug 12, 2010 at 01:31:50PM +0400, Dmitry Eremin-Solenikov wrote: >> Some (rare) serio devices need to have multiple serio children. One of >> the examples is PS/2 multiplexer present on several TQC STKxxx boards, >> which connect PS/2 keyboard and mouse to single tty port. >> > > I like idea of the patch, however I'd prefer if we kept recurstion out > of the serio core and instead stick to iterative algorithms. Any chance > you could rework the part that travels the [sub]trees? Would you mind another list_head embedded into struct strio? If it's suitable solution, I've refactored recursion out. -- With best wishes Dmitry -- 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