]> git.proxmox.com Git - mirror_ubuntu-hirsute-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)
committerJens Axboe <axboe@kernel.dk>
Tue, 15 Oct 2019 20:10:19 +0000 (14:10 -0600)
commit09d6ac8dc51a033ae0043c1fe40b4d02563c2496
tree7c906b805db024722e48d4d487ffe518a5dd3eab
parent307f4065b9d7c1e887e8bdfb2487e4638559fea1
libata/ahci: Fix PCS quirk application

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>
drivers/ata/ahci.c