kernel-ark/drivers/extcon
Krzysztof Kozlowski 12adef5b49 extcon: max14577: Fix probe failure on successful work queue
In probe the driver queued delayed work for cable detection and
returned the result of queue_delayed_work() call. However the return
value of queue_delayed_work() does not indicate an error and in normal
condition it returns true which means successful work queue.
This effectively resulted in probe failure:
[    2.088204] max14577-muic: probe of max77836-muic failed with error 1

Signed-off-by: Krzysztof Kozlowski <k.kozlowski@samsung.com>
Cc: <stable@vger.kernel.org>
Fixes: 962e56bfcf ("extcon: max14577: Add extcon-max14577 driver...")
Signed-off-by: Chanwoo Choi <cw00.choi@samsung.com>
2014-04-24 17:26:30 +09:00
..
extcon-adc-jack.c extcon: Simplify extcon_dev_register() prototype by removing unnecessary parameter 2013-09-27 09:37:01 +09:00
extcon-arizona.c ASoC: dapm: Add locking to snd_soc_dapm_xxxx_pin functions 2014-02-20 18:40:07 +09:00
extcon-class.c extcon: Move OF helper function to extcon core and change function name 2014-03-19 14:41:58 +09:00
extcon-gpio.c extcon: gpio: Use SIMPLE_DEV_PM_OPS macro 2014-03-19 13:45:42 +09:00
extcon-max8997.c extcon: max8997: Use power efficient workqueue for delayed cable detection 2014-04-24 17:20:39 +09:00
extcon-max14577.c extcon: max14577: Fix probe failure on successful work queue 2014-04-24 17:26:30 +09:00
extcon-max77693.c extcon: max77693: Use power efficient workqueue for delayed cable detection 2014-04-24 17:20:38 +09:00
extcon-palmas.c extcon: palmas: explicitly set edev name as node name 2014-04-22 15:41:10 +09:00
Kconfig extcon: max14577: Add support for MAX77836 2014-04-23 14:09:25 +01:00
Makefile extcon: Move OF helper function to extcon core and change function name 2014-03-19 14:41:58 +09:00