diff options
author | Sujit Reddy Thumma <sthumma@codeaurora.org> | 2014-09-25 16:32:23 +0400 |
---|---|---|
committer | Christoph Hellwig <hch@lst.de> | 2014-10-01 15:11:19 +0400 |
commit | c6e79dacd86fd7ddd452fa52b3f4ca996db31e49 (patch) | |
tree | a1482fd92a23e1c34eaaaaf3a70c1339f1b81eb6 /drivers/scsi/ufs/ufshcd-pci.c | |
parent | aa497613093412ee26ef4bfa4ffec8391553dfca (diff) | |
download | linux-c6e79dacd86fd7ddd452fa52b3f4ca996db31e49.tar.xz |
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.c | 2 |
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"); |