mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/
synced 2026-10-16 22:39:48 +00:00
extcon: max14577: Properly handle regmap_irq_get_virq error
commit 369afd4ba2 upstream.
The regmap_irq_get_virq may return 0 or -EINVAL on error. Fail the probe
in both situations.
Signed-off-by: Krzysztof Kozlowski <k.kozlowski@samsung.com>
Signed-off-by: Chanwoo Choi <cw00.choi@samsung.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
cc5dbe7fcb
commit
eb5adaa8b7
1 changed files with 1 additions and 1 deletions
Loading…
Add table
Add a link
Reference in a new issue