OSDN Git Service

staging: gasket: bail out of reset sequence on device callback error
authorTodd Poynor <toddpoynor@google.com>
Tue, 17 Jul 2018 20:56:54 +0000 (13:56 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 19 Jul 2018 09:39:47 +0000 (11:39 +0200)
commit45042402ae97682b965d88f2393f317f48bb0042
treeb48ccf3014c31ac8d6c09d344b16f900a8baf68b
parent72a23054a95c5439b779930b6ffa129437178ac9
staging: gasket: bail out of reset sequence on device callback error

If device reset callback returns an error, error out at the gasket
level.

Reported-by: Dmitry Torokhov <dtor@chromium.org>
Signed-off-by: Zhongze Hu <frankhu@chromium.org>
Signed-off-by: Todd Poynor <toddpoynor@google.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/gasket/gasket_core.c