Re: [PATCH] Add support for HTC Shift Touchscreen

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Dmitry Torokhov
Date: Tuesday, May 20, 2008 - 6:54 am

On Tue, May 20, 2008 at 01:02:34PM +0200, Pau Oliva Fora wrote:

You need to close the device. Making evdev a module and unloading it
should do the trick (you don't use tsdev, do you?).


If you can't find the way to disable device then you need to revert to
the old way, with enabling it in _probe() and freein irq in _remove(),
you just need to make sure that you free_irq() first and then call
input_unregister_device().

Also, like Andrey said, we might consider using DMI table so we dont
poke IO ports on random boxes. Oh, and one more thing, you need to
reserve the IO ports your driver is using with request_region.

-- 
Dmitry
--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
[PATCH] Add support for HTC Shift Touchscreen, Pau Oliva Fora, (Sat May 17, 5:44 am)
Re: [PATCH] Add support for HTC Shift Touchscreen, Sam Ravnborg, (Sat May 17, 6:01 am)
Re: [PATCH] Add support for HTC Shift Touchscreen, Pekka Enberg, (Sat May 17, 6:02 am)
Re: [PATCH] Add support for HTC Shift Touchscreen, Pau Oliva Fora, (Sat May 17, 9:38 am)
Re: [PATCH] Add support for HTC Shift Touchscreen, Marcin Slusarz, (Sun May 18, 2:26 am)
Re: [PATCH] Add support for HTC Shift Touchscreen, Pekka Enberg, (Sun May 18, 2:39 am)
Re: [PATCH] Add support for HTC Shift Touchscreen, Pau Oliva Fora, (Sun May 18, 8:16 pm)
Re: [PATCH] Add support for HTC Shift Touchscreen, Pekka Enberg, (Sun May 18, 10:22 pm)
Re: [PATCH] Add support for HTC Shift Touchscreen, Pau Oliva Fora, (Mon May 19, 8:12 am)
Re: [PATCH] Add support for HTC Shift Touchscreen, Dmitry Torokhov, (Mon May 19, 8:35 am)
Re: [PATCH] Add support for HTC Shift Touchscreen, Pau Oliva Fora, (Mon May 19, 4:08 pm)
Re: [PATCH] Add support for HTC Shift Touchscreen, Dmitry Torokhov, (Mon May 19, 6:49 pm)
Re: [PATCH] Add support for HTC Shift Touchscreen, Pau Oliva Fora, (Tue May 20, 4:02 am)
Re: [PATCH] Add support for HTC Shift Touchscreen, Andrey Panin, (Tue May 20, 5:37 am)
Re: [PATCH] Add support for HTC Shift Touchscreen, Dmitry Torokhov, (Tue May 20, 6:54 am)
Re: [PATCH] Add support for HTC Shift Touchscreen, Pau Oliva Fora, (Tue May 20, 12:09 pm)
Re: [PATCH] Add support for HTC Shift Touchscreen, Pau Oliva Fora, (Wed May 21, 5:47 pm)