Re: [git pull] Input updates for 3.5-rc0

Dmitry Torokhov
2012-05-24T20:36:54Z

On Thu, May 24, 2012 at 01:11:14PM -0700, Linus Torvalds wrote:
> On Thu, May 24, 2012 at 12:58 PM, Dmitry Torokhov
> <dmitry.torokhov@gmail.com> wrote:
> >
> > Considering your
> >
> >        dev_set_name(&dev->dev, "input-%s", dev_name(dev->dev.parent));
> >
> > what happens if I unplug and replug my wacom tablet while event node is
> > still opened and therefore all kobjects are still pinned into memory?
>
> I'll let you think about just how stupid that comment was for a moment.

Hmm, I guess we are better now with cleaning and turning devices into
zombies waiting to be reaped. Still have to handle parent have several
input devices (HID devices quite often do it). And I still do not see
the point why we want to bother, the proper layer to report driver
errors is driver and object it is bound to.

--
Dmitry