On Tue, 18 Mar 2008 14:54:17 -0400, Dmitry Torokhov <dmitry.torokhov@xxxxxxxxx> wrote: > > > [] As far as I understand the > > > the input_dev structure shold be pinned in memory by the driver > > > core since we have this link: > > > > > > evdev->dev.parent = &input_dev->dev; > > I don't think anyone checks this, unless the accompaining refcount > > is set. > From what I see we should be automatically taking the reference > to parent kobject in > > kobject_add_internal(): > parent = kobject_get(kobj->parent); > > perent is set in kobject_add_varg(): > kobj->parent = parent; I see you fixed this in a7097ff89c3204737a07eecbc83f9ae6002cc534. Adam Jackson reports on the X11 side that it worked. -- Pete -- 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