]> git.proxmox.com Git - mirror_ubuntu-artful-kernel.git/commit
sata: ahci-da850: implement a workaround for the softreset quirk
authorBartosz Golaszewski <bgolaszewski@baylibre.com>
Mon, 30 Jan 2017 10:02:05 +0000 (11:02 +0100)
committerSekhar Nori <nsekhar@ti.com>
Tue, 31 Jan 2017 12:18:11 +0000 (17:48 +0530)
commitf4d435f3265661d04e5290a0a0450e3a38898128
tree06519e240b54944f152c77dedfd879e5ac92d726
parentbf4ae3f07889db3056033d462dcd37eb6385fbc2
sata: ahci-da850: implement a workaround for the softreset quirk

There's an issue with the da850 SATA controller: if port multiplier
support is compiled in, but we're connecting the drive directly to
the SATA port on the board, the drive can't be detected.

To make SATA work on the da850-lcdk board: first try to softreset
with pmp - if the operation fails with -EBUSY, retry without pmp.

Signed-off-by: Bartosz Golaszewski <bgolaszewski@baylibre.com>
Acked-by: Tejun Heo <tj@kernel.org>
Signed-off-by: Sekhar Nori <nsekhar@ti.com>
drivers/ata/ahci_da850.c