aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/extcon/extcon-max77843.c (follow)
AgeCommit message (Collapse)AuthorFilesLines
2015-03-23extcon: max77843: Fix an error code in max77843_init_muic_regmap()Dan Carpenter1-1/+1
The i2c_new_dummy() return the NULL if error happen. So, If i2c_new_dummy() return NULL, max77843_init_muic_regmap() return the proper error value (-ENOMEM); Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com> [cw00.choi: Use -ENOMEM instead of -ENODEV and modify patch description] Signed-off-by: Chanwoo Choi <cw00.choi@samsung.com>
2015-03-16extcon: max77843: Fix signedness bug in max77843_muic_set_debounce_time()Dan Carpenter1-1/+1
This patch fixes the variable type of 'ret' from 'unsigned int' to 'int' type because the return type of regmap_update_bits() is 'int' type. Fixes: 27a28d32b4f2 ('extcon: max77843: Add max77843 MUIC driver') Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com> [cw00.choi: Fix the patch description] Signed-off-by: Chanwoo Choi <cw00.choi@samsung.com>
2015-02-24extcon: max77843: Add max77843 MUIC driverJaewon Kim1-0/+881
This patch adds MAX77843 extcon driver to support for MUIC(Micro USB Interface Controller) device by using EXTCON subsystem to handle various external connectors. Signed-off-by: Jaewon Kim <jaewon02.kim@samsung.com> Signed-off-by: Chanwoo Choi <cw00.choi@samsung.com>