diff options
author | Brett Creeley <brett.creeley@intel.com> | 2019-02-13 10:51:14 -0800 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2019-05-31 06:45:24 -0700 |
commit | de56a5e33754f0f6f670eac06903faae062919bd (patch) | |
tree | 75f3f828218db1bd6d68f05daed2b186ec1fafd3 /drivers/gpu/drm/sun4i/sun6i_mipi_dsi.c | |
parent | 48c7d1ea6d21361cabd42dbed7e6474e3f4d519f (diff) |
ice: Put __ICE_PREPARED_FOR_RESET check in ice_prepare_for_reset
[ Upstream commit 5abac9d7e1bb9a373673811154774d4c89a7f85e ]
Currently we check if the __ICE_PREPARED_FOR_RESET bit is set prior to
calling ice_prepare_for_reset in ice_reset_subtask(), but we aren't
checking that bit in ice_do_reset() before calling
ice_prepare_for_reset(). This is not consistent and can cause issues if
ice_prepare_for_reset() is called prior to ice_do_reset(). Fix this by
checking if the __ICE_PREPARED_FOR_RESET bit is set internal to
ice_prepare_for_reset().
Signed-off-by: Brett Creeley <brett.creeley@intel.com>
Signed-off-by: Anirudh Venkataramanan <anirudh.venkataramanan@intel.com>
Tested-by: Andrew Bowers <andrewx.bowers@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'drivers/gpu/drm/sun4i/sun6i_mipi_dsi.c')
0 files changed, 0 insertions, 0 deletions