diff options
author | Alexander Usyskin <alexander.usyskin@intel.com> | 2020-10-29 10:54:44 +0100 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2020-11-03 10:13:00 +0100 |
commit | c2192bbc3c507b33dda5858049e0493c073d29fb (patch) | |
tree | 0438f987e64913aeaa8c629f51e7b475acfb6600 /mm/page_owner.c | |
parent | mei: bus: do not start a read for disconnected clients (diff) | |
download | linux-c2192bbc3c507b33dda5858049e0493c073d29fb.tar.xz linux-c2192bbc3c507b33dda5858049e0493c073d29fb.zip |
mei: bus: deinitialize callback functions on init failure
If the initialization procedure for receive or receive callback
registration on the client bus has failed the caller can't re-run it.
Deinitilize the callback pointers and cancel the work
to allow the caller to retry.
Signed-off-by: Alexander Usyskin <alexander.usyskin@intel.com>
Signed-off-by: Tomas Winkler <tomas.winkler@intel.com>
Link: https://lore.kernel.org/r/20201029095444.957924-4-tomas.winkler@intel.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'mm/page_owner.c')
0 files changed, 0 insertions, 0 deletions