- Previous thread: [PATCH] powerpc/perf_counter: POWER7 has alternate PR/HV bits
- Next thread: Approved Award Winner
- Threads sorted by date: kernel 200906
Em Dom, 2009-06-28 =C3=A0s 12:49 +0530, Trilok Soni escreveu:
> > + pcap_keys->input->evbit[0] =3D BIT_MASK(EV_KEY) | BIT_MASK(EV_S=
W);
> > + set_bit(KEY_POWER, pcap_keys->input->keybit);
> > + set_bit(SW_HEADPHONE_INSERT, pcap_keys->input->swbit);
> > + set_bit(KEY_HP, pcap_keys->input->keybit);
>=20
> __set_bit please.
Ok.
> > +
> > + err =3D request_irq(pcap_to_irq(pcap_keys->pcap, PCAP_IRQ_ONOFF=
),
> > + pcap_keys_handler, 0, "Power key", pcap_keys);
> > + if (err)
> > + goto fail_dev;
> > +
> > + err =3D request_irq(pcap_to_irq(pcap_keys->pcap, PCAP_IRQ_HS),
> > + pcap_keys_handler, 0, "Headphone jack", pcap_ke=
ys);
> > + if (err)
> > + goto fail_pwrkey;
> > +
> > + err =3D request_irq(pcap_to_irq(pcap_keys->pcap, PCAP_IRQ_MIC),
> > + pcap_keys_handler, 0, "MIC jack/button", pcap_k=
eys);
> > + if (err)
> > + goto fail_jack;
> > +
> > + err =3D input_register_device(pcap_keys->input);
> > + if (err)
> > + goto fail_mic;
>=20
> Same comment as given in PCAP touchscreen driver.
Ok.
> > +static struct platform_driver pcap_keys_device_driver =3D {
> > + .probe =3D pcap_keys_probe,
> > + .remove =3D pcap_keys_remove,
>=20
> __devexit_p ?
Ok.
Thanks for the review, I will send new versions addressing your comments
as soon as possible.
--=20
Daniel Ribeiro
> > + pcap_keys->input->evbit[0] =3D BIT_MASK(EV_KEY) | BIT_MASK(EV_S=
W);
> > + set_bit(KEY_POWER, pcap_keys->input->keybit);
> > + set_bit(SW_HEADPHONE_INSERT, pcap_keys->input->swbit);
> > + set_bit(KEY_HP, pcap_keys->input->keybit);
>=20
> __set_bit please.
Ok.
> > +
> > + err =3D request_irq(pcap_to_irq(pcap_keys->pcap, PCAP_IRQ_ONOFF=
),
> > + pcap_keys_handler, 0, "Power key", pcap_keys);
> > + if (err)
> > + goto fail_dev;
> > +
> > + err =3D request_irq(pcap_to_irq(pcap_keys->pcap, PCAP_IRQ_HS),
> > + pcap_keys_handler, 0, "Headphone jack", pcap_ke=
ys);
> > + if (err)
> > + goto fail_pwrkey;
> > +
> > + err =3D request_irq(pcap_to_irq(pcap_keys->pcap, PCAP_IRQ_MIC),
> > + pcap_keys_handler, 0, "MIC jack/button", pcap_k=
eys);
> > + if (err)
> > + goto fail_jack;
> > +
> > + err =3D input_register_device(pcap_keys->input);
> > + if (err)
> > + goto fail_mic;
>=20
> Same comment as given in PCAP touchscreen driver.
Ok.
> > +static struct platform_driver pcap_keys_device_driver =3D {
> > + .probe =3D pcap_keys_probe,
> > + .remove =3D pcap_keys_remove,
>=20
> __devexit_p ?
Ok.
Thanks for the review, I will send new versions addressing your comments
as soon as possible.
--=20
Daniel Ribeiro
Conversations: [PATCH] PCAP misc input driver (for 2.6.32)
- [PATCH] PCAP misc input driver (for 2.6.32) by Daniel Ribeiro on 2009-06-27T17:10:37+00:00
- Re: [PATCH] PCAP misc input driver (for 2.6.32) by Trilok Soni on 2009-06-28T07:19:52+00:00
- Re: [PATCH] PCAP misc input driver (for 2.6.32) by Daniel Ribeiro on 2009-06-28T17:53:30+00:00
- Re: [PATCH] PCAP misc input driver (for 2.6.32) by Dmitry Torokhov on 2009-06-29T06:22:21+00:00
- Re: [PATCH] PCAP misc input driver (for 2.6.32) by Mark Brown on 2009-06-29T09:47:24+00:00
- Re: [PATCH] PCAP misc input driver (for 2.6.32) by Ilya Petrov on 2009-06-29T16:27:58+00:00
- Re: [PATCH] PCAP misc input driver (for 2.6.32) by Mark Brown on 2009-06-29T16:33:44+00:00
- Re: [PATCH] PCAP misc input driver (for 2.6.32) by Daniel Ribeiro on 2009-06-29T20:47:41+00:00
Related Threads
- [kde-freebsd] [SVN Commit] area51/KDE/polish/kde4-l10n - kde
- [PATCH 0/3] DRM/KMS framebuffer fixes - kernel
- [grails-user] dealing with plugin lib conflicts? - grails
- Help! The page isn't redirecting properly - cakephp
- [grails-user] grails 1.2 M4 and eclipse 3.5 - grails
- Plan for tomorrow's (20091113) FESCo meeting - fedora
- NFR (No Frozen Rawhide) Planning Meeting :: Thursday 2009-11-19 @ 20:00 UTC (3 PM EST/ 12 PM PST) - fedora
- dracut + encryption problem - fedora
- FreeBSD Port: zabbix-1.6.6,1 - freebsd
- What's in linux1394-2.6.git? - kernel
- [CentOS] Name failed to restart with service named restart command - centos
- [grails-user] Grails Services and AOP - grails