aboutsummaryrefslogtreecommitdiff
path: root/scripts/gcc-wrapper.py
diff options
context:
space:
mode:
authorGilad Broner <gbroner@codeaurora.org>2015-04-15 16:16:49 +0300
committerGilad Broner <gbroner@codeaurora.org>2015-04-15 16:16:49 +0300
commitc16853998b79ba243de11ca5a7629b441a2d5245 (patch)
tree7dbc4c04704a0a37355e8fac4be38dcaa8b2286e /scripts/gcc-wrapper.py
parent4bf97eaf7b9349db5007bb1294b3d2409024d13e (diff)
scsi: ufs: fix probe failure masked by crypto engine reset
When ufshcd_host_reset_and_restore() is called, it is possible that ufshcd_probe_hba() fails and return an error value. However, the later call to crypto_engine_reset() might succeed and override the previous error value. This will result in ufshcd_host_reset_and_restore() returning success while in fact a serious error may have occured which should prevent us from continuing in the normal sequence. Instead, call crypto_engine_reset() only if ufshcd_probe_hba() was successfull. Change-Id: I0462f674b8750bfb9e0657cb37833aa2bd2aa4f0 Signed-off-by: Gilad Broner <gbroner@codeaurora.org>
Diffstat (limited to 'scripts/gcc-wrapper.py')
0 files changed, 0 insertions, 0 deletions