diff options
author | Bartosz Golaszewski <bgolaszewski@baylibre.com> | 2017-01-30 11:02:01 +0100 |
---|---|---|
committer | Sekhar Nori <nsekhar@ti.com> | 2017-01-31 12:55:13 +0100 |
commit | 82dbe1a68fd65a4dae8f01e4f214221857f8161b (patch) | |
tree | d6728713f4b2795f75edffd7bb2df8d92ea8437b /drivers/ata/ata_generic.c | |
parent | Linux 4.10-rc1 (diff) | |
download | linux-82dbe1a68fd65a4dae8f01e4f214221857f8161b.tar.xz linux-82dbe1a68fd65a4dae8f01e4f214221857f8161b.zip |
sata: ahci-da850: get the sata clock using a connection id
In preparation for using two clocks in the driver (the sysclk2-based
clock and the external REFCLK), check if we got the functional clock
after calling ahci_platform_get_resources(). If not, retry calling
clk_get() with con_id specified.
Signed-off-by: Bartosz Golaszewski <bgolaszewski@baylibre.com>
Acked-by: Tejun Heo <tj@kernel.org>
Signed-off-by: Sekhar Nori <nsekhar@ti.com>
Diffstat (limited to 'drivers/ata/ata_generic.c')
0 files changed, 0 insertions, 0 deletions