diff options
author | Bartosz Golaszewski <bgolaszewski@baylibre.com> | 2017-01-30 11:02:06 +0100 |
---|---|---|
committer | Sekhar Nori <nsekhar@ti.com> | 2017-01-31 13:18:21 +0100 |
commit | d436501e06792dd44101e0e45c32f6c1ea965acb (patch) | |
tree | 2b03732f0d8a8b7ed971d2473d512b7130404c0f /drivers/ata/pata_ns87415.c | |
parent | sata: ahci-da850: implement a workaround for the softreset quirk (diff) | |
download | linux-d436501e06792dd44101e0e45c32f6c1ea965acb.tar.xz linux-d436501e06792dd44101e0e45c32f6c1ea965acb.zip |
sata: ahci: export ahci_do_hardreset() locally
We need a way to retrieve the information about the online state of
the link in the ahci-da850 driver.
Create a new function: ahci_do_hardreset() which is called from
ahci_hardreset() for backwards compatibility, but has an additional
argument: 'online' - which can be used to check if the link is online
after this function returns.
The new routine will be used in the ahci-da850 driver to avoid code
duplication when implementing a workaround for tha da850 SATA
controller quirk/instability.
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/pata_ns87415.c')
0 files changed, 0 insertions, 0 deletions