Re: [PATCH 0/2] Provide a driver for the Apple Magic Mouse - opps

From: Ed Tomlinson
Date: Tue Feb 16 2010 - 07:34:56 EST


On Monday 15 February 2010 02:11:46 Dmitry Torokhov wrote:
> Almost... you need to do hid_hw_stop() first and only then unregister
> input device, Otherwise if you unload the module while moving the mouse
> it is likely to still oops.

The exit routing for the module also has a hid_hw_stop. Is it going to cause
problems when it gets called twice?

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