linux/drivers/extcon
Chanwoo Choi 894795dd1b UPSTREAM: extcon: Block the bit masking operation for cable state except for extcon core
This patch restrict the usage of extcon_update_state() in the extcon
core because the extcon_update_state() use the bit masking to change
the state of external connector. When this function is used in device drivers,
it may occur the probelm with the handling mistake of bit masking.

Also, this patch removes the extcon_get/set_state() functions because these
functions use the bit masking which is reluctant way. Instead, extcon
provides the extcon_set/get_cable_state_() functions.


Change-Id: I436b8d4f9485bb318e7d77db8902f85e2bc15778
Signed-off-by: Chanwoo Choi <cw00.choi@samsung.com>
Signed-off-by: Chris Zhong <zyw@rock-chips.com>
(cherry picked from commit c2692f2dad4f3228579bb0b2cf2d6d9bf283f31a)
2016-08-03 10:07:01 +08:00
..
devres.c UPSTREAM: extcon: Add resource-managed functions to register extcon notifier 2016-08-03 09:41:25 +08:00
extcon-adc-jack.c UPSTREAM: extcon: adc-jack: Remove the usage of extcon_set_state() 2016-08-03 10:07:00 +08:00
extcon-arizona.c UPSTREAM: extcon: arizona: Remove the usage of extcon_update_state() 2016-08-03 10:06:56 +08:00
extcon-axp288.c extcon: Modify the id and name of external connector 2015-10-16 08:30:09 +09:00
extcon-gpio.c UPSTREAM: extcon: gpio: Remove the usage of extcon_set_state() 2016-08-03 10:06:58 +08:00
extcon-max8997.c extcon: Modify the id and name of external connector 2015-10-16 08:30:09 +09:00
extcon-max14577.c extcon: Modify the id and name of external connector 2015-10-16 08:30:09 +09:00
extcon-max77693.c extcon: Modify the id and name of external connector 2015-10-16 08:30:09 +09:00
extcon-max77843.c extcon: max77843: Use correct size for reading the interrupt register 2016-05-04 14:48:54 -07:00
extcon-palmas.c extcon: palmas: Fix build break due to devm_gpiod_get_optional API change 2015-08-13 20:56:18 +09:00
extcon-rt8973a.c extcon: Modify the id and name of external connector 2015-10-16 08:30:09 +09:00
extcon-rt8973a.h extcon: rt8973a: Add Richtek RT8973A extcon driver 2014-09-22 11:43:08 +09:00
extcon-sm5502.c extcon: Modify the id and name of external connector 2015-10-16 08:30:09 +09:00
extcon-sm5502.h extcon: sm5502: Move sm5502.h header file to extcon directory 2014-09-22 11:43:08 +09:00
extcon-usb-gpio.c extcon: palmas: Support GPIO based USB ID detection 2015-08-10 21:26:25 +09:00
extcon.c UPSTREAM: extcon: Block the bit masking operation for cable state except for extcon core 2016-08-03 10:07:01 +08:00
Kconfig extcon: Allow compile test of GPIO consumers if !GPIOLIB 2015-05-19 16:39:06 +09:00
Makefile UPSTREAM: extcon: link devres into core module 2016-08-03 09:41:52 +08:00