[PATCH 09/10] input: enable touch on 88pm860x

Haojian Zhuang haojian.zhuang at gmail.com
Thu Nov 19 22:02:23 EST 2009


On Wed, Nov 18, 2009 at 12:16 AM, Dmitry Torokhov
<dmitry.torokhov at gmail.com> wrote:
> On Tue, Nov 17, 2009 at 01:27:42AM -0500, Haojian Zhuang wrote:
>>
>> Up to now, I don't support module yet. When each component of this
>> PMIC is ready, I'll enable module.
>>
>
> I would do it rather sooner than later - then you'd notice that you are
> not freeing IRQ in pm860x_touch_remove() when you'd try to reload your
> module.
>
>> +
>> +static int __devexit pm860x_touch_remove(struct platform_device *pdev)
>> +{
>> +     struct pm860x_touch *touch = platform_get_drvdata(pdev);
>> +
>> +     input_unregister_device(touch->idev);
>> +     return 0;
>> +}
>> +
>
> --
> Dmitry
>

updated with module supported.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0009-input-enable-touch-on-88pm860x.patch
Type: text/x-patch
Size: 8700 bytes
Desc: not available
URL: <http://lists.infradead.org/pipermail/linux-arm-kernel/attachments/20091119/f62f38d6/attachment-0001.bin>


More information about the linux-arm-kernel mailing list