|
@@ -924,15 +924,13 @@ static void sata_dwc_exec_command_by_tag(struct ata_port *ap,
|
|
struct ata_taskfile *tf,
|
|
struct ata_taskfile *tf,
|
|
u8 tag, u32 cmd_issued)
|
|
u8 tag, u32 cmd_issued)
|
|
{
|
|
{
|
|
- unsigned long flags;
|
|
|
|
struct sata_dwc_device_port *hsdevp = HSDEVP_FROM_AP(ap);
|
|
struct sata_dwc_device_port *hsdevp = HSDEVP_FROM_AP(ap);
|
|
|
|
|
|
dev_dbg(ap->dev, "%s cmd(0x%02x): %s tag=%d\n", __func__, tf->command,
|
|
dev_dbg(ap->dev, "%s cmd(0x%02x): %s tag=%d\n", __func__, tf->command,
|
|
ata_get_cmd_descript(tf->command), tag);
|
|
ata_get_cmd_descript(tf->command), tag);
|
|
|
|
|
|
- spin_lock_irqsave(&ap->host->lock, flags);
|
|
|
|
hsdevp->cmd_issued[tag] = cmd_issued;
|
|
hsdevp->cmd_issued[tag] = cmd_issued;
|
|
- spin_unlock_irqrestore(&ap->host->lock, flags);
|
|
|
|
|
|
+
|
|
/*
|
|
/*
|
|
* Clear SError before executing a new command.
|
|
* Clear SError before executing a new command.
|
|
* sata_dwc_scr_write and read can not be used here. Clearing the PM
|
|
* sata_dwc_scr_write and read can not be used here. Clearing the PM
|