summaryrefslogtreecommitdiff
path: root/drivers/extcon/extcon.c
AgeCommit message (Expand)AuthorFilesLines
2021-03-15extcon: Fix error handling in extcon_dev_registerDinghao Liu1-0/+1
2020-05-29extcon: remove redundant assignment to variable idxColin Ian King1-1/+1
2020-03-25extcon: Mark extcon_get_edev_name() function as exported symbolMayank Rana1-0/+1
2019-06-05treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 282Thomas Gleixner1-9/+1
2018-08-28extcon: Switch to use kasprintf() instead of open codedAndy Shevchenko1-10/+3
2018-08-28extcon: Make static analyzer happy about union assignmentAndy Shevchenko1-1/+1
2018-07-12extcon: Release locking when sending the notification of connector stateChanwoo Choi1-1/+2
2018-06-13treewide: kzalloc() -> kcalloc()Kees Cook1-10/+14
2018-03-08extcon: add possibility to get extcon device by OF nodeAndrzej Hajda1-10/+34
2017-10-23extcon: make extcon_info static const, fixes warningColin Ian King1-1/+1
2017-08-16extcon: Correct description to improve the readabilityChanwoo Choi1-140/+134
2017-08-16extcon: Remove unused CABLE_NAME_MAX definitionChanwoo Choi1-1/+0
2017-07-19extcon: Convert to using %pOF instead of full_nameRob Herring1-2/+2
2017-05-23extcon: Fix a typo in three comment linesMarkus Elfring1-3/+3
2017-05-23extcon: Use devm_kcalloc() in extcon_dev_register()Markus Elfring1-3/+2
2017-04-06extcon: Use BIT() macro for the left-shift operationChanwoo Choi1-1/+1
2017-04-06extcon: Remove porting compatibility of swich classChanwoo Choi1-20/+0
2017-04-04extcon: Add new extcon_register_notifier_all() to monitor all external connec...Chanwoo Choi1-0/+66
2017-01-09extcon: Modify the name of EXTCON_USB_HOST connectorChanwoo Choi1-1/+1
2017-01-09extcon: Add new EXTCON_CHG_USB_PD type for USB Power DeliveryChanwoo Choi1-0/+5
2017-01-09extcon: Move defintion of struct extcon_dev to driver/extcon directoryChanwoo Choi1-1/+2
2017-01-09extcon: Remove potential problem when calling extcon_register_notifier()Chanwoo Choi1-26/+7
2017-01-09extcon: Return error code on failurePan Bian1-1/+1
2016-08-08extcon: Add new EXTCON_CHG_WPT for Wireless Power Transfer deviceChanwoo Choi1-0/+5
2016-08-08extcon: Add new EXTCON_DISP_HMD for Head-mounted Display deviceChanwoo Choi1-0/+5
2016-08-08extcon: Add EXTCON_DISP_DP and the property for USB Type-CChris Zhong1-0/+5
2016-08-08extcon: Add the synchronization extcon APIs to support the notificationChanwoo Choi1-75/+135
2016-08-08extcon: Rename the extcon_set/get_state() to maintain the function naming pat...Chanwoo Choi1-15/+13
2016-08-08extcon: Add the support for the capability of each propertyChanwoo Choi1-0/+140
2016-08-08extcon: Add the support for extcon property according to extcon typeChanwoo Choi1-1/+200
2016-08-08extcon: Add the extcon_type to gather each connector into five categoryChanwoo Choi1-29/+130
2016-08-08extcon: Fix compile time warningManinder Singh1-1/+1
2016-08-08extcon: Block the bit masking operation for cable state except for extcon coreChanwoo Choi1-19/+1
2016-08-08extcon: Remove the state_store() to prevent the wrong accessChanwoo Choi1-20/+1
2016-08-08extcon: Move extcon_get_edev_by_phandle() errors to dbg levelStephen Boyd1-2/+2
2016-07-02extcon: add missing of_node_put after calling of_parse_phandlePeter Chen1-0/+2
2016-06-27extcon: Split out the resource-managed functions from extcon coreChanwoo Choi1-117/+0
2016-06-27extcon: Move struct extcon_cable from header file to coreChanwoo Choi1-0/+20
2016-06-23extcon: Check for incorrect connection type in notifier registerStephen Boyd1-0/+4
2016-06-10extcon: Remove the deprecated extcon functionsChanwoo Choi1-177/+24
2015-10-16extcon: Modify the id and name of external connectorChanwoo Choi1-29/+32
2015-09-21extcon: Fix attached value returned by is_extcon_changedHans de Goede1-1/+1
2015-08-10extcon: Fix signedness bugs about break error handlingDan Carpenter1-4/+4
2015-08-10extcon: Add exception handling to prevent the NULL pointer accessChanwoo Choi1-1/+31
2015-08-10extcon: Remove optional print_state() function pointer of struct extcon_devChanwoo Choi1-8/+0
2015-07-31extcon: Fix extcon_cable_get_state() from getting old state after notificationRoger Quadros1-5/+10
2015-07-31extcon: Fix hang and extcon_get/set_cable_state().Roger Quadros1-12/+34
2015-06-13extcon: Redefine the unique id of supported external connectors without 'enum...Chanwoo Choi1-12/+12
2015-05-29extcon: Remove optional print_name() function pointer of extcon_devChanwoo Choi1-8/+0
2015-05-22extcon: Update the prototype of extcon_register_notifier() with enum extconChanwoo Choi1-43/+48