Re: [RESEND PATCH v3] scsi: ufshcd: fix possible unclocked register access
From: Martin K. Petersen
Date: Tue Oct 11 2016 - 17:55:28 EST
>>>>> "Subhash" == Subhash Jadavani <subhashj@xxxxxxxxxxxxxx> writes:
Subhash> Vendor specific setup_clocks callback may require the clocks
Subhash> managed by ufshcd driver to be ON. So if the vendor specific
Subhash> setup_clocks callback is called while the required clocks are
Subhash> turned off, it could result into unclocked register access.
Subhash> To prevent possible unclock register access, this change adds
Subhash> one more argument to setup_clocks callback to let it know
Subhash> whether it is called pre/post the clock changes by core driver.
Applied to 4.10/scsi-queue.
Martin K. Petersen Oracle Linux Engineering