Commit 35fec6f1 authored by Jarkko Sakkinen's avatar Jarkko Sakkinen

tpm_crb: remove wmb()'s

wmb()'s are not needed as iowrite32() is used.
Signed-off-by: default avatarJarkko Sakkinen <jarkko.sakkinen@linux.intel.com>
parent 72fd50e1
...@@ -175,9 +175,6 @@ static void crb_cancel(struct tpm_chip *chip) ...@@ -175,9 +175,6 @@ static void crb_cancel(struct tpm_chip *chip)
iowrite32(cpu_to_le32(CRB_CANCEL_INVOKE), &priv->cca->cancel); iowrite32(cpu_to_le32(CRB_CANCEL_INVOKE), &priv->cca->cancel);
/* Make sure that cmd is populated before issuing cancel. */
wmb();
if ((priv->flags & CRB_FL_ACPI_START) && crb_do_acpi_start(chip)) if ((priv->flags & CRB_FL_ACPI_START) && crb_do_acpi_start(chip))
dev_err(&chip->dev, "ACPI Start failed\n"); dev_err(&chip->dev, "ACPI Start failed\n");
} }
......
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