diff options
author | Sinan Kaya <okaya@codeaurora.org> | 2016-07-19 16:01:48 +0300 |
---|---|---|
committer | Alex Williamson <alex.williamson@redhat.com> | 2016-07-19 19:54:45 +0300 |
commit | e99442323f33470677deeed35619313b05837f35 (patch) | |
tree | 29d35dfccf9a93efdc42ce1c45a0366a23869430 /drivers/regulator/tps6586x-regulator.c | |
parent | b5add544d677d36386c3559cf5db1485b59c4d7d (diff) | |
download | linux-e99442323f33470677deeed35619313b05837f35.tar.xz |
vfio: platform: check reset call return code during open
Open call is ignoring the return code from reset call and can
potentially continue even though reset call failed.
If reset_required module parameter is set, this patch is going
to validate the return code and will abort open if reset fails.
Signed-off-by: Sinan Kaya <okaya@codeaurora.org>
Reviewed-by: Baptiste Reynal <b.reynal@virtualopensystems.com>
Reviewed-by: Eric Auger <eric.auger@redhat.com>
Signed-off-by: Alex Williamson <alex.williamson@redhat.com>
Diffstat (limited to 'drivers/regulator/tps6586x-regulator.c')
0 files changed, 0 insertions, 0 deletions