Re: [PATCH v10 1/7] scsi: ufs: Flush exception event before suspend

From: hongwus
Date: Thu Feb 13 2020 - 21:48:40 EST


On 2020-02-11 11:40, Can Guo wrote:
From: Sayali Lokhande <sayalil@xxxxxxxxxxxxxx>

Exception event can be raised by the device when system
suspend is in progress. This will result in unclocked
register access in exception event handler as clocks will
be turned off during suspend. This change makes sure to flush
exception event handler work in suspend before disabling
clocks to avoid unclocked register access issue.

Signed-off-by: Sayali Lokhande <sayalil@xxxxxxxxxxxxxx>
Signed-off-by: Asutosh Das <asutoshd@xxxxxxxxxxxxxx>
Signed-off-by: Can Guo <cang@xxxxxxxxxxxxxx>
Reviewed-by: Bean Huo <beanhuo@xxxxxxxxxx>


Reviewed-by: Hongwu Su <hongwus@xxxxxxxxxx>