]> git.karo-electronics.de Git - linux-beck.git/commitdiff
tpm_crb: remove wmb()'s
authorJarkko Sakkinen <jarkko.sakkinen@linux.intel.com>
Fri, 2 Sep 2016 19:34:18 +0000 (22:34 +0300)
committerJarkko Sakkinen <jarkko.sakkinen@linux.intel.com>
Thu, 15 Sep 2016 13:04:21 +0000 (16:04 +0300)
wmb()'s are not needed as iowrite32() is used.

Signed-off-by: Jarkko Sakkinen <jarkko.sakkinen@linux.intel.com>
drivers/char/tpm/tpm_crb.c

index 1801f382377ed9d41cb142907a21c595ddae8b7c..358c47577a2e0ea2814a9e6b93dda4dd7614a099 100644 (file)
@@ -175,9 +175,6 @@ static void crb_cancel(struct tpm_chip *chip)
 
        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))
                dev_err(&chip->dev, "ACPI Start failed\n");
 }