]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit83a3455eaf0df61727a48073b41e9854e31a7cd5
treeb48ccf3014c31ac8d6c09d344b16f900a8baf68b
parent8b12f41d59a8b2a0c99df22c04443021118eba61
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