OpenCloudOS-Kernel/drivers/staging/nvec
Marc Dietrich 68fae2f3df staging: nvec: remove managed resource from PS2 driver
This basicly reverts commit e534f3e9 (staging:nvec: Introduce the use of
the managed version of kzalloc). Serio struct should never by managed
because it is refcounted. Doing so will lead to a double free oops on module
remove.

Signed-off-by: Marc Dietrich <marvin24@gmx.de>
Fixes: e534f3e942 ("staging:nvec: Introduce the use of the managed version of kzalloc")
Cc: stable <stable@vger.kernel.org> # 3.15+
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2016-11-07 11:48:25 +01:00
..
Kconfig Staging: nvec: Add paragraph to describe kconfig symbol 2015-02-26 17:14:07 -08:00
Makefile
README staging: nvec:Misspelled the word 2015-11-15 20:02:47 -08:00
TODO Staging: nvec: Modify the nvec_write_sync method to return the error code 2016-02-14 16:52:15 -08:00
nvec-keytable.h
nvec.c staging: nvec: Fix comparison to NULL 2016-03-28 07:30:36 -07:00
nvec.h Staging: nvec: Modify the nvec_write_sync method to return the error code 2016-02-14 16:52:15 -08:00
nvec_kbd.c staging: nvec: drop owner assignment from platform_drivers 2014-10-20 16:21:41 +02:00
nvec_paz00.c staging: nvec: Remove blank lines before a close brace 2016-03-11 22:09:09 -08:00
nvec_power.c Staging: nvec: removes a useless cast on a void pointer 2016-03-28 07:30:36 -07:00
nvec_ps2.c staging: nvec: remove managed resource from PS2 driver 2016-11-07 11:48:25 +01:00

README

NVEC: An NVidia compliant Embedded Controller Protocol Implementation

This is an implementation of the NVEC protocol used to communicate with an
embedded controller (EC) via I2C bus. The EC is an I2C master while the host
processor is the I2C slave. Requests from the host processor to the EC are
started by triggering a gpio line.

There is no written documentation of the protocol available to the public,
but the source code[1] of the published nvec reference drivers can be a guide.
This driver is currently only used by the AC100 project[2], but it is likely,
that other Tegra boards (not yet mainlined, if ever) also use it.

[1] e.g. http://nv-tegra.nvidia.com/gitweb/?p=linux-2.6.git;a=tree;f=arch/arm/mach-tegra/nvec;hb=android-tegra-2.6.32
[2] http://gitorious.org/ac100, http://launchpad.net/ac100