remarkable-linux/drivers/scsi/ufs
Subhash Jadavani 1e879e8fa9 scsi: ufshcd: Fix possible unclocked register access
Vendor specific setup_clocks callback may require the clocks managed by
ufshcd driver to be ON. So if the vendor specific setup_clocks callback
is called while the required clocks are turned off, it could result into
unclocked register access.

To prevent possible unclock register access, this change adds one more
argument to setup_clocks callback to let it know whether it is called
pre/post the clock changes by core driver.

Signed-off-by: Subhash Jadavani <subhashj@codeaurora.org>
Reviewed-by: Kiwoong Kim <kwmad.kim@samsung.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
2016-11-08 17:29:47 -05:00
..
Kconfig scsi: ufs: Kconfig fix 2016-09-29 21:57:08 -04:00
Makefile ufs: add TC G210 pci driver 2016-07-12 23:16:31 -04:00
tc-dwc-g210-pci.c ufs: add TC G210 pci driver 2016-07-12 23:16:31 -04:00
tc-dwc-g210-pltfrm.c ufs: add TC G210 platform driver 2016-07-12 23:16:31 -04:00
tc-dwc-g210.c scsi: ufs: Add missing header dependencies for tc-dwc-g210 2016-09-04 01:28:08 -04:00
tc-dwc-g210.h ufs: add support for Synopsys G210 Test Chip 2016-07-12 23:16:31 -04:00
ufs-qcom.c scsi: ufshcd: Fix possible unclocked register access 2016-11-08 17:29:47 -05:00
ufs-qcom.h
ufs.h scsi: ufs: Get a TM service response from the correct offset 2016-09-21 16:28:57 -04:00
ufs_quirks.h scsi: ufs: Enable no vccq quirk for skhynix device 2016-09-28 01:08:05 -04:00
ufshcd-dwc.c ufs: Adding license info do tc-dwc-g210 and ufshcd-dwc to enable loadable module 2016-07-12 23:16:31 -04:00
ufshcd-dwc.h ufs: add support for DesignWare Controller 2016-07-12 23:16:31 -04:00
ufshcd-pci.c
ufshcd-pltfrm.c
ufshcd-pltfrm.h
ufshcd.c scsi: ufshcd: Fix possible unclocked register access 2016-11-08 17:29:47 -05:00
ufshcd.h scsi: ufshcd: Fix possible unclocked register access 2016-11-08 17:29:47 -05:00
ufshci-dwc.h ufs: add support for DesignWare Controller 2016-07-12 23:16:31 -04:00
ufshci.h ufs: add link status to ufshci 2016-07-12 23:16:31 -04:00
unipro.h ufs: add unipro attributes 2016-07-12 23:16:31 -04:00