summaryrefslogtreecommitdiff
path: root/drivers/ata/pata_amd.c
diff options
context:
space:
mode:
authorMark Lord <liml@rtr.ca>2009-02-19 15:38:04 (GMT)
committerJeff Garzik <jgarzik@redhat.com>2009-02-25 20:25:35 (GMT)
commit6be96ac15e4d913e1f48299db083ada5321803b2 (patch)
tree470a31dd536ca0de003c205f6a03ecc3e3116195 /drivers/ata/pata_amd.c
parent7ba07d16bd62f931efec1fc8e63bf1aeebfe42a9 (diff)
downloadlinux-fsl-qoriq-6be96ac15e4d913e1f48299db083ada5321803b2.tar.xz
sata_mv: fix SoC interrupt breakage
For some reason, sata_mv doesn't clear interrupt status during init when it's running on an SoC host adapter. If the bootloader has touched the SATA controller before starting Linux, Linux can end up enabling the SATA interrupt with events pending, which will cause the interrupt to be marked as spurious and then be disabled, which then breaks all further accesses to the controller. This patch makes the SoC path clear interrupt status on init like in the non-SoC case. Signed-off-by: Lennert Buytenhek <buytenh@marvell.com> Signed-off-by: Mark Lord <mlord@pobox.com> Signed-off-by: Jeff Garzik <jgarzik@redhat.com>
Diffstat (limited to 'drivers/ata/pata_amd.c')
0 files changed, 0 insertions, 0 deletions