]> git.proxmox.com Git - mirror_ubuntu-jammy-kernel.git/commit
greybus: es2: fix probe error handling
authorJohan Hovold <johan@hovoldconsulting.com>
Wed, 11 May 2016 08:18:00 +0000 (10:18 +0200)
committerGreg Kroah-Hartman <gregkh@google.com>
Fri, 13 May 2016 13:30:05 +0000 (15:30 +0200)
commitbe5d01f10bdb782d31039930a9414c2f880e3430
tree6d277ba8d3291359da74f23b88d4f610b0c86f4f
parent74a5d93cee1fb08d8e576888418ddd401aba6713
greybus: es2: fix probe error handling

Make sure to return -ENODEV when the expected endpoints are missing and
stop relying on a default error.

Signed-off-by: Johan Hovold <johan@hovoldconsulting.com>
Reviewed-by: Viresh Kumar <viresh.kumar@linaro.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@google.com>
drivers/staging/greybus/es2.c