]> git.baikalelectronics.ru Git - kernel.git/commit
extcon: Add EXTCON_MECHANICAL cable type for physical presence
authorMark Brown <broonie@opensource.wolfsonmicro.com>
Wed, 2 May 2012 09:38:51 +0000 (10:38 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 4 May 2012 23:25:29 +0000 (16:25 -0700)
commit815eea1ceeda8d739703b37a7b01b3fca40c7b78
tree427d1f3bc8a1115aa9529f419ca3ee8458c9b82c
parentf14e15b414e0c71bd793001ce9fc2ba6ad1b5079
extcon: Add EXTCON_MECHANICAL cable type for physical presence

Some accessory detection mechanisms are able to detect that something is
physically present in the socket separately to identifying what is present
in the socket. This information can be useful to applications, for example
allowing them to indicate that a potentially broken accessory is present,
so provide a standard way to report it to userspace.

Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/extcon/extcon_class.c
include/linux/extcon.h