Re: [PATCH] extcon: max14577: Fix probe failure on successful work queue

From: Chanwoo Choi
Date: Wed Apr 09 2014 - 23:50:52 EST


Hi Krzysztof,

On 04/09/2014 06:56 PM, Krzysztof Kozlowski wrote:
> 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@xxxxxxxxxxx>
> Cc: <stable@xxxxxxxxxxxxxxx>
> Fixes: 962e56bfcf0b ("extcon: max14577: Add extcon-max14577 driver...")
> ---
> drivers/extcon/extcon-max14577.c | 7 +------
> 1 file changed, 1 insertion(+), 6 deletions(-)

Applied this patch.
but, you could check this patch on extcon-next branch
after few days. becuase I have firewall issue of kerner.org.

Thanks,
Chanwoo Choi


--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/