Commit 46b93e7b authored by Tejun Heo's avatar Tejun Heo Committed by Jeff Garzik

[PATCH] sil24: remove CMDERR clearing

02_sil24_remove-cmderr-clearing.patch

	CMDERR register doesn't need clearing.  This is from Edward's
	driver.
Signed-off-by: default avatarTejun Heo <htejun@gmail.com>

 sata_sil24.c |    4 ----
 1 file changed, 4 deletions(-)
Signed-off-by: default avatarJeff Garzik <jgarzik@pobox.com>
parent ad6e90f6
...@@ -502,10 +502,6 @@ static void sil24_error_intr(struct ata_port *ap, u32 slot_stat) ...@@ -502,10 +502,6 @@ static void sil24_error_intr(struct ata_port *ap, u32 slot_stat)
cmd_err = readl(port + PORT_CMD_ERR); cmd_err = readl(port + PORT_CMD_ERR);
sstatus = readl(port + PORT_SSTATUS); sstatus = readl(port + PORT_SSTATUS);
serror = readl(port + PORT_SERROR); serror = readl(port + PORT_SERROR);
/* Clear IRQ/errors */
if (cmd_err)
writel(cmd_err, port + PORT_CMD_ERR);
if (serror) if (serror)
writel(serror, port + PORT_SERROR); writel(serror, port + PORT_SERROR);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment