Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1206946

Re: [PATCH v2] Input: drivers/joystick: use parallel port device model

From Dmitry Torokhov <dmitry.torokhov@gmail.com>
Newsgroups linux.kernel
Subject Re: [PATCH v2] Input: drivers/joystick: use parallel port device model
Date 2015-08-13 18:30 +0200
Message-ID <pX3ya-92-11@gated-at.bofh.it> (permalink)
References <pTLo7-4If-27@gated-at.bofh.it> <pV9HH-4yH-3@gated-at.bofh.it> <pX13k-4V5-31@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On Thu, Aug 13, 2015 at 07:16:14PM +0530, Sudip Mukherjee wrote:
> On Sat, Aug 08, 2015 at 04:05:15PM +0530, Sudip Mukherjee wrote:
> > On Tue, Aug 04, 2015 at 07:55:51PM +0530, Sudip Mukherjee wrote:
> > > Modify db9 driver to use the new Parallel Port device model.
> > > 
> > > Signed-off-by: Sudip Mukherjee <sudip@vectorindia.org>
> > > ---
> > > 
> > > v2: an extra check was removed. db9_base could not be removed. Already
> > > mailed you the reasons, reference is at:
> > > https://lkml.org/lkml/2015/8/3/403
> > 
> > Hi Dmitry,
> > I was telling you on the other thread that to remove db9_base we will
> > need to modify the parport code and then it has to be tested by everyone
> > again and that will also change the old behaviour of parport. The v2 to
> > which I am replying now is still having that db9_base.
> > 
> > Please see the following patch, this is the minimum change required to
> > update db9 driver. Personally I donot like this approach as in this
> > method if a parallel port is hotplugged after this driver is loaded then
> > it will not work. Please let me know your views on the posted v2 and
> > also on the following proposal.
> 
> Hi Dmitry,
> Did you have a chance to look at this?

Right, so I agree that we should allow for hotplug and so the v2 is in
that sense is better than v3.

I still would prefer for the core to keep track of relationship between
devices and drivers, but if you would prefer to postpone implementing it
that woudl be fine.

> Pali Rohár has the hardware and he is ready to test it.

Pali, could you give the v2 version of the patch a spin
(https://patchwork.kernel.org/patch/6940321/)?

Thanks.

-- 
Dmitry
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Back to linux.kernel | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

Re: [PATCH v2] Input: drivers/joystick: use parallel port device  model Sudip Mukherjee <sudipm.mukherjee@gmail.com> - 2015-08-08 12:40 +0200
  Re: [PATCH v2] Input: drivers/joystick: use parallel port device  model Sudip Mukherjee <sudipm.mukherjee@gmail.com> - 2015-08-13 15:50 +0200
    Re: [PATCH v2] Input: drivers/joystick: use parallel port device  model Dmitry Torokhov <dmitry.torokhov@gmail.com> - 2015-08-13 18:30 +0200
      Re: [PATCH v2] Input: drivers/joystick: use parallel port device  model Sudip Mukherjee <sudipm.mukherjee@gmail.com> - 2015-08-14 09:00 +0200
        Re: [PATCH v2] Input: drivers/joystick: use parallel port device  model Pali Rohár <pali.rohar@gmail.com> - 2015-08-14 09:10 +0200
          Re: [PATCH v2] Input: drivers/joystick: use parallel port device  model Sudip Mukherjee <sudipm.mukherjee@gmail.com> - 2015-08-17 09:30 +0200

csiph-web