]> git.baikalelectronics.ru Git - 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)
commit19e84f7467daa3552e1885c909c2471a6c3cf374
tree7c906b805db024722e48d4d487ffe518a5dd3eab
parented963deec8668e8c8417a523d7870d8eb39a3b1c
libata/ahci: Fix PCS quirk application

Commit 9562ffa77461 "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: 9562ffa77461 ("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