commit | 82dbe1a68fd65a4dae8f01e4f214221857f8161b | [log] [tgz] |
---|---|---|
author | Bartosz Golaszewski <bgolaszewski@baylibre.com> | Mon Jan 30 11:02:01 2017 +0100 |
committer | Sekhar Nori <nsekhar@ti.com> | Tue Jan 31 17:25:13 2017 +0530 |
tree | d6728713f4b2795f75edffd7bb2df8d92ea8437b | |
parent | 7ce7d89f48834cefece7804d38fc5d85382edf77 [diff] |
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>