]> git.baikalelectronics.ru Git - kernel.git/commit
Extcon: Notify changed state for only one cable to notifee
authorChanwoo Choi <cw00.choi@samsung.com>
Fri, 27 Apr 2012 06:17:28 +0000 (15:17 +0900)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 30 Apr 2012 02:03:49 +0000 (22:03 -0400)
commit787278cbeeca6e73f4ff89e5e1ff67a381ae7c96
tree4714e3c3862316bf22197240baa6f2dbc05b4115
parent6638512afd59004b23224c9fdcfc0d3b57005a4b
Extcon: Notify changed state for only one cable to notifee

This patch inform the state of only one cable instead of previous data
including the state of 32 cables to notifee which use
extcon_register_interest()
function to monitor whether the specific cable is attachd or detached.

Signed-off-by: Chanwoo Choi <cw00.choi@samsung.com>
Signed-off-by: Myungjoo Ham <myungjoo.ham@samsung.com>
Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/extcon/extcon_class.c