fa7996178650377994b1e42ea6c00df304d48065 |
|
03-Jul-2014 |
Pawel Lebioda <pawel.lebioda89@gmail.com> |
staging: nvec: insert blank lines after declarations This patch fixes coding style warnings reported by checkpatch.pl: "Missing a blank line after declarations". Signed-off-by: Pawel Lebioda <pawel.lebioda89@gmail.com> Acked-by: Marc Dietrich <marvin24@gmx.de> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
|
e534f3e9429feb99ea133dfd5618b0dfc5af8a00 |
|
07-Mar-2014 |
Himangi Saraogi <himangi774@gmail.com> |
staging:nvec: Introduce the use of the managed version of kzalloc This patch moves shared private data kzalloc to managed devm_kzalloc. There are no kfree statements associated with this data, so using devm adds the possibility of the data being freed, if the proble function fails (if that is possible) or if the remove function succeeds. Signed-off-by: Himangi Saraogi <himangi774@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
|
c2b62f60f67e0375c09d3c385ba90999d39d3dce |
|
29-Apr-2013 |
Marc Dietrich <marvin24@gmx.de> |
staging: nvec: cleanup childs on remove Disable device functions and unregister notifier if available. The serio device must not be "kzallocated". Otherwise serio_unregister_port will fail because the device is already freed. Signed-off-by: Marc Dietrich <marvin24@gmx.de> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
|
99758dec9507fa1c5723c926626499e895679c40 |
|
29-Apr-2013 |
Marc Dietrich <marvin24@gmx.de> |
staging: nvec: add missing module aliases Keyboard and mouse drivers were missing MODULE_ALIAS definitions. This fixes auto module loading of these drivers. Signed-off-by: Marc Dietrich <marvin24@gmx.de> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
|
d398f56ed7ddf8a2f3ffdd15323bc31296d14c5d |
|
29-Apr-2013 |
Marc Dietrich <marvin24@gmx.de> |
staging: nvec: cleanup childs on remove Disable device functions and unregister notifier if available. The serio device must not be "kzallocated". Otherwise serio_unregister_port will fail because the device is already freed. Signed-off-by: Marc Dietrich <marvin24@gmx.de> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
|
38dc92ed3019aacba7e790aa689ef65550660338 |
|
29-Apr-2013 |
Marc Dietrich <marvin24@gmx.de> |
staging: nvec: add missing module aliases Keyboard and mouse drivers were missing MODULE_ALIAS definitions. This fixes auto module loading of these drivers. Signed-off-by: Marc Dietrich <marvin24@gmx.de> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
|
93eff83ff1640bef8062568687b5e0e41a0d4c42 |
|
27-Jan-2013 |
Marc Dietrich <marvin24@gmx.de> |
staging: nvec: cleanup the string mess Replace the various command strings by named constants. Signed-off-by: Marc Dietrich <marvin24@gmx.de> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
|
85a90528b2b4f2d38a56df5b3f137223983aad4b |
|
27-Jan-2013 |
Marc Dietrich <marvin24@gmx.de> |
staging: nvec: fix mouse suspend/resume calls The EC command for enable/disable is not an EC command. Instead it needs to be send to the mouse. Signed-off-by: Marc Dietrich <marvin24@gmx.de> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
|
1a6a8a8414f740f1dfde762837eeb3f2ce835919 |
|
19-Nov-2012 |
Bill Pemberton <wfp5p@virginia.edu> |
staging: nvec: remove use of __devexit CONFIG_HOTPLUG is going away as an option so __devexit is no longer needed. Signed-off-by: Bill Pemberton <wfp5p@virginia.edu> Cc: Julian Andres Klode <jak@jak-linux.org> Acked-by: Marc Dietrich <marvin24@gmx.de> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
|
46620803c309d2bc10814b903b39d7647057b440 |
|
19-Nov-2012 |
Bill Pemberton <wfp5p@virginia.edu> |
staging: nvec: remove use of __devinit CONFIG_HOTPLUG is going away as an option so __devinit is no longer needed. Signed-off-by: Bill Pemberton <wfp5p@virginia.edu> Cc: Julian Andres Klode <jak@jak-linux.org> Acked-by: Marc Dietrich <marvin24@gmx.de> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
|
44b90a3fbcac0f233b71b4041fa76ea325caca33 |
|
19-Nov-2012 |
Bill Pemberton <wfp5p@virginia.edu> |
staging: nvec: remove use of __devexit_p CONFIG_HOTPLUG is going away as an option so __devexit_p is no longer needed. Signed-off-by: Bill Pemberton <wfp5p@virginia.edu> Cc: Julian Andres Klode <jak@jak-linux.org> Acked-by: Marc Dietrich <marvin24@gmx.de> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
|
3cdde3a3d55e64e6d1ae3465701c8d9f226775f3 |
|
24-Jun-2012 |
Marc Dietrich <marvin24@gmx.de> |
staging: nvec: add remove function to nvec childs This patch cleanups registered devices on remove. Signed-off-by: Marc Dietrich <marvin24@gmx.de> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
|
ebefae28cea729cb1fa9c944179f62d7dd65b10f |
|
24-Jun-2012 |
Marc Dietrich <marvin24@gmx.de> |
staging: nvec: cleanup powermanagement callbacks Simplify powermanagement initialization by using pm_ops macro. Signed-off-by: Marc Dietrich <marvin24@gmx.de> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
|
9891b1ce6276912c54f66b7b0c8c1bcc42ca75eb |
|
24-Jun-2012 |
Marc Dietrich <marvin24@gmx.de> |
staging: nvec: cleanup driver registration This patch simplifies code by using the module_platform_driver macro. Signed-off-by: Marc Dietrich <marvin24@gmx.de> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
|
f5e3352e5185ef37700da9a51c333559381fe8fd |
|
24-Jun-2012 |
Marc Dietrich <marvin24@gmx.de> |
staging: nvec: convert to devm_ functions This patch cleanups the nvec and its childs by replacing calls to resource allocations by their devm_* equivalents. Signed-off-by: Marc Dietrich <marvin24@gmx.de> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
|
36b30d6138f4677514aca35ab76c20c1604baaad |
|
26-Dec-2011 |
Marc Dietrich <marvin24@gmx.de> |
staging: nvec: ps2: change serio type to passthrough This changes the serio type of the nvec_ps2 mouse port to passthrough. The old 8042 type seems appropiete for keyboards only. Signed-off-by: Marc Dietrich <marvin24@gmx.de> Signed-off-by: Julian Andres Klode <jak@jak-linux.org> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
|
a573298b81ffd05856ddaa222826471eabf3953b |
|
26-Dec-2011 |
Marc Dietrich <marvin24@gmx.de> |
staging: nvec: ps2: disable/enable mouse on suspend/resume This change makes the touchpad buttons work after suspend/resume. Signed-off-by: Marc Dietrich <marvin24@gmx.de> Signed-off-by: Julian Andres Klode <jak@jak-linux.org> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
|
0eedab704ed93d03b1ac392fd329f7ed20ab2279 |
|
26-Dec-2011 |
Marc Dietrich <marvin24@gmx.de> |
staging: nvec: ps2: add some more debug functions This can print the mouse traffic which goes over the i2c bus. Make mouse debugging messages configurable and disable them by default. Signed-off-by: Marc Dietrich <marvin24@gmx.de> Signed-off-by: Julian Andres Klode <jak@jak-linux.org> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
|
4b625c3abe91fca5b5a7f05681c10105af957e4f |
|
26-Dec-2011 |
Marc Dietrich <marvin24@gmx.de> |
staging: nvec: ps2: tell nvec to send 6 byte long messages This packet size used on most modern touchpads. Ideally, this should be configurable or autodetected. Signed-off-by: Marc Dietrich <marvin24@gmx.de> Signed-off-by: Julian Andres Klode <jak@jak-linux.org> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
|
34ba143b9d1daf2eb7ea06b05c24b71faff82512 |
|
26-Dec-2011 |
Marc Dietrich <marvin24@gmx.de> |
staging: nvec: ps2: let the start/stop streaming commands be called by the start/stop functions of serio Instead of executing these commands during open/close, the start/stop event of the serio device seem to be more appropiete. Signed-off-by: Marc Dietrich <marvin24@gmx.de> Signed-off-by: Julian Andres Klode <jak@jak-linux.org> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
|
d1b5342c1f5946c2219e4e5bd770b1c1fc186272 |
|
26-Dec-2011 |
Marc Dietrich <marvin24@gmx.de> |
staging: nvec: ps2: add suspend/resume functions This adds suspend and resume functions to the nvec_ps2 mouse driver. During suspend the nvec sends a "Cancel all mouse events" command. If this is missed, there will be still some bytes in the received buffer after resume which make the mouse go out of sync. Signed-off-by: Marc Dietrich <marvin24@gmx.de> Signed-off-by: Julian Andres Klode <jak@jak-linux.org> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
|
1e46e6273bc62d87c1eb984d2a2b16efa6b19641 |
|
27-Sep-2011 |
Julian Andres Klode <jak@jak-linux.org> |
staging: nvec: ps2: Always sample 4 bytes instead of just 1 Get 4 bytes of data from nvec at once instead of just a single byte. This makes the driver more similar to nvidias and might improve reliability. Signed-off-by: Julian Andres Klode <jak@jak-linux.org> Acked-by: Marc Dietrich <marvin24@gmx.de> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
|
ff006d12667153a5ee187c834ac328dfd5afb0a2 |
|
27-Sep-2011 |
Julian Andres Klode <jak@jak-linux.org> |
staging: nvec: Return error in PS2 driver if write fails Return the return value of nvec_write_async() in the methods returning an int. Signed-off-by: Julian Andres Klode <jak@jak-linux.org> Acked-by: Marc Dietrich <marvin24@gmx.de> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
|
162c7d8c4be2d599583c42c2a8fe99bed6d87f67 |
|
27-Sep-2011 |
Marc Dietrich <marvin24@gmx.de> |
staging: nvec: coding style fixes / add copyright notice This patch fixes coding style and adds copyright notices. Signed-off-by: Marc Dietrich <marvin24@gmx.de> [jak@jak-linux.org: Merge later cleanup into that patch] Signed-off-by: Julian Andres Klode <jak@jak-linux.org> Acked-by: Marc Dietrich <marvin24@gmx.de> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
|
7974035c008d98ec23ec76d9f10bff2dfd866ecf |
|
27-Sep-2011 |
Julian Andres Klode <jak@jak-linux.org> |
staging: nvec: Include missing headers Those headers were apparently included by other headers previously, but are not anymore. Signed-off-by: Julian Andres Klode <jak@jak-linux.org> Acked-by: Marc Dietrich <marvin24@gmx.de> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
|
f686e9affba24cfdf94fb155aaeb36a1e14719f1 |
|
24-Aug-2011 |
Marc Dietrich <marvin24@gmx.de> |
staging: nvec: convert to use platform register and mfdcells This patch converts the nvec to use mfd cells and improves the registration of the platform driver. The child drivers are also converted to use mfd cells and platform registration. Signed-off-by: Marc Dietrich <marvin24@gmx.de> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
|
32890b983086136fef8721363a2d3860f337ad53 |
|
19-May-2011 |
Marc Dietrich <marvin24@gmx.de> |
Staging: initial version of the nvec driver This is an implementation of a NVidia compliant embedded controller protocol driver. It is used on some ARM-Tegra boards for device communication. Signed-off-by: Marc Dietrich <marvin24@gmx.de> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
|