diff options
author | Alexander Usyskin <alexander.usyskin@intel.com> | 2022-02-15 09:04:38 +0100 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2022-02-25 12:14:01 +0100 |
commit | 2be483f12ea34b43826f70c60f0924a7bda991bd (patch) | |
tree | f333a6584cf9127d223d04850485fafff271033f /drivers/misc/habanalabs/common | |
parent | mei: me: fix reset policy on read error in interrupt (diff) | |
download | linux-2be483f12ea34b43826f70c60f0924a7bda991bd.tar.xz linux-2be483f12ea34b43826f70c60f0924a7bda991bd.zip |
mei: do not overwrite state on hw start
During the hardware start sequence, do not overwrite the driver state
and do not proceed with the initialization sequence if the state
was changed while the driver was waiting for the start interrupt.
This can happen if the driver's removal/stop procedure was triggered
from the parent level while the driver is waiting for the start
interrupt. This may lead to stray the reset work or the timer
after driver were removed.
Signed-off-by: Alexander Usyskin <alexander.usyskin@intel.com>
Signed-off-by: Tomas Winkler <tomas.winkler@intel.com>
Link: https://lore.kernel.org/r/20220215080438.264876-4-tomas.winkler@intel.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/misc/habanalabs/common')
0 files changed, 0 insertions, 0 deletions