aboutsummaryrefslogtreecommitdiff
path: root/drivers/mfd
diff options
context:
space:
mode:
authorAlexander Usyskin <alexander.usyskin@intel.com>2014-04-01 23:50:41 +0300
committerShow Liu <show.liu@linaro.org>2014-06-18 11:40:13 +0800
commita385f7ae8ed62f2580b3e6f8c6f1ccf1c61f1b71 (patch)
tree314943cec50974de48f07c9b7d173f5aae9cda8a /drivers/mfd
parent1614b099899a49cb91c30e3cf983fc09b08a1327 (diff)
mei: ignore client writing state during cb completion
commit 34ec43661fe8f1977dd0f05353302ae2ed10aabb upstream. Ignore client writing state during cb completion to fix a memory leak. When moving cbs to the completion list we should not look at writing_state as this state can be already overwritten by next write, the fact that a cb is on the write waiting list means that it was already written to the HW and we can safely complete it. Same pays for wait in poll handler, we do not have to check the state wake is done after completion list processing. Signed-off-by: Alexander Usyskin <alexander.usyskin@intel.com> Signed-off-by: Tomas Winkler <tomas.winkler@intel.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/mfd')
0 files changed, 0 insertions, 0 deletions