OSDN Git Service

ahci: qoriq: correct the sata ecc setting error
authorYuantian Tang <andy.tang@nxp.com>
Thu, 9 Mar 2017 09:13:29 +0000 (17:13 +0800)
committerTejun Heo <tj@kernel.org>
Thu, 9 Mar 2017 16:55:23 +0000 (11:55 -0500)
commit6022c5cadf1a43ca30f431f128daa6163909ad60
tree616b2d8b4e90d1fbcbcd00f4a5a192b28dbf4fda
parent0580b762a4d6b70817476b90042813f8573283fa
ahci: qoriq: correct the sata ecc setting error

Sata ecc is controlled by only 1 bit which is 24bit in big-endian
in ecc register. So only setting 24bit to disable sata ecc prevents
other bits from being overwritten in ecc register.

Signed-off-by: Tang Yuantian <andy.tang@nxp.com>
Signed-off-by: Tejun Heo <tj@kernel.org>
drivers/ata/ahci_qoriq.c