summaryrefslogtreecommitdiffstats
path: root/drivers/scsi/ufs/ufshcd-pci.c
diff options
context:
space:
mode:
authorSujit Reddy Thumma <sthumma@codeaurora.org>2014-09-25 15:32:23 +0300
committerChristoph Hellwig <hch@lst.de>2014-10-01 13:11:19 +0200
commitc6e79dacd86fd7ddd452fa52b3f4ca996db31e49 (patch)
treea1482fd92a23e1c34eaaaaf3a70c1339f1b81eb6 /drivers/scsi/ufs/ufshcd-pci.c
parentaa497613093412ee26ef4bfa4ffec8391553dfca (diff)
downloadtalos-op-linux-c6e79dacd86fd7ddd452fa52b3f4ca996db31e49.tar.gz
talos-op-linux-c6e79dacd86fd7ddd452fa52b3f4ca996db31e49.zip
ufs: Add clock initialization support
Add generic clock initialization support for UFSHCD platform driver. The clock info is read from device tree using standard clock bindings. A generic max-clock-frequency-hz property is defined to save information on maximum operating clock frequency the h/w supports. Signed-off-by: Sujit Reddy Thumma <sthumma@codeaurora.org> Signed-off-by: Dolev Raviv <draviv@codeaurora.org> Signed-off-by: Christoph Hellwig <hch@lst.de>
Diffstat (limited to 'drivers/scsi/ufs/ufshcd-pci.c')
-rw-r--r--drivers/scsi/ufs/ufshcd-pci.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/scsi/ufs/ufshcd-pci.c b/drivers/scsi/ufs/ufshcd-pci.c
index 7a6edbc55f92..2a26faa95b77 100644
--- a/drivers/scsi/ufs/ufshcd-pci.c
+++ b/drivers/scsi/ufs/ufshcd-pci.c
@@ -170,6 +170,8 @@ ufshcd_pci_probe(struct pci_dev *pdev, const struct pci_device_id *id)
return err;
}
+ INIT_LIST_HEAD(&hba->clk_list_head);
+
err = ufshcd_init(hba, mmio_base, pdev->irq);
if (err) {
dev_err(&pdev->dev, "Initialization failed\n");
OpenPOWER on IntegriCloud