]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/commit
libata/ahci: Fix PCS quirk application
authorDan Williams <dan.j.williams@intel.com>
Tue, 15 Oct 2019 19:54:17 +0000 (12:54 -0700)
committerStefan Bader <stefan.bader@canonical.com>
Tue, 12 Nov 2019 18:04:56 +0000 (19:04 +0100)
commit51ea417b85b35c5dcef58dd19860a961333a4bc2
treecbf7a8776e637de286af689822f24cb0bd6b20c1
parent8522db28b742d7e944c01ace7a455cc0108d7e98
libata/ahci: Fix PCS quirk application

BugLink: https://bugs.launchpad.net/bugs/1851876
[ Upstream commit 09d6ac8dc51a033ae0043c1fe40b4d02563c2496 ]

Commit c312ef176399 "libata/ahci: Drop PCS quirk for Denverton and
beyond" got the polarity wrong on the check for which board-ids should
have the quirk applied. The board type board_ahci_pcs7 is defined at the
end of the list such that "pcs7" boards can be special cased in the
future if they need the quirk. All prior Intel board ids "<
board_ahci_pcs7" should proceed with applying the quirk.

Reported-by: Andreas Friedrich <afrie@gmx.net>
Reported-by: Stephen Douthit <stephend@silicom-usa.com>
Fixes: c312ef176399 ("libata/ahci: Drop PCS quirk for Denverton and beyond")
Cc: <stable@vger.kernel.org>
Signed-off-by: Dan Williams <dan.j.williams@intel.com>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Signed-off-by: Sasha Levin <sashal@kernel.org>
Signed-off-by: Kamal Mostafa <kamal@canonical.com>
Signed-off-by: Khalid Elmously <khalid.elmously@canonical.com>
drivers/ata/ahci.c