Skip to content
Commit 62f1d0e6 authored by Andres Salomon's avatar Andres Salomon Committed by Jeff Garzik
Browse files

[libata] sata_mv: errata check buglet fix



Fix a buglet; the errata check below this code is assuming the value in
the sstatus variable is what was pulled out of the SCR_STATUS register.
However, the status checks in the timeout loop clobber everything
but the first 4 bits of sstatus, so the errata checks are invalid.

This patch changes it to not clobber SStatus.

Signed-off-by: default avatarAndres Salomon <dilinger@debian.org>
Signed-off-by: default avatarJeff Garzik <jeff@garzik.org>
parent c336923b
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment