linux-input.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Input: 8042 - only one i8042_filter
@ 2013-09-21  6:48 Andrey Moiseev
  2013-09-22  2:04 ` Dmitry Torokhov
  0 siblings, 1 reply; 2+ messages in thread
From: Andrey Moiseev @ 2013-09-21  6:48 UTC (permalink / raw)
  To: Dmitry Torokhov; +Cc: linux-kernel, linux-input

Is it ok that in /drivers/input/serio/i8042.c it's allowed to install
only one i8042_filter? Theoretically, there may be several different
devices that need their drivers to install i8042_filter, to eat out
some device-specific subset of scancodes. Shouldn't that single
pointer to the i8042_filter be replaced by a list, for example?

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: Input: 8042 - only one i8042_filter
  2013-09-21  6:48 Input: 8042 - only one i8042_filter Andrey Moiseev
@ 2013-09-22  2:04 ` Dmitry Torokhov
  0 siblings, 0 replies; 2+ messages in thread
From: Dmitry Torokhov @ 2013-09-22  2:04 UTC (permalink / raw)
  To: Andrey Moiseev; +Cc: linux-kernel, linux-input

Hi Andrey,

On Sat, Sep 21, 2013 at 10:48:21AM +0400, Andrey Moiseev wrote:
> Is it ok that in /drivers/input/serio/i8042.c it's allowed to install
> only one i8042_filter? Theoretically, there may be several different
> devices that need their drivers to install i8042_filter, to eat out
> some device-specific subset of scancodes. Shouldn't that single
> pointer to the i8042_filter be replaced by a list, for example?

The expectation that there will be a single platform specific driver
living in drivers/platform/x86/... that will install platform specific
filter and will do all necessary processing. So far there was no need
for more than one filter.

Thanks.

-- 
Dmitry

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2013-09-23  3:51 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-09-21  6:48 Input: 8042 - only one i8042_filter Andrey Moiseev
2013-09-22  2:04 ` Dmitry Torokhov

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).