[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <1406ac79-992e-256f-f361-da412a04c856@linux.ibm.com>
Date: Mon, 19 Nov 2018 09:13:54 -0500
From: Stefan Berger <stefanb@...ux.ibm.com>
To: Jarkko Sakkinen <jarkko.sakkinen@...ux.intel.com>,
linux-integrity@...r.kernel.org
Cc: linux-security-module@...r.kernel.org,
James Bottomley <James.Bottomley@...senPartnership.com>,
Tomas Winkler <tomas.winkler@...el.com>,
Tadeusz Struk <tadeusz.struk@...el.com>,
Stefan Berger <stefanb@...ux.vnet.ibm.com>,
Nayna Jain <nayna@...ux.ibm.com>,
Peter Huewe <peterhuewe@....de>,
Jason Gunthorpe <jgg@...pe.ca>, Arnd Bergmann <arnd@...db.de>,
Greg Kroah-Hartman <gregkh@...uxfoundation.org>,
open list <linux-kernel@...r.kernel.org>
Subject: Re: [PATCH v9 15/17] tpm: introduce tpm_chip_start() and
tpm_chip_stop()
> +}
> +
> +/**
> + * tpm_chip_stop() - power off the TPM
> + * @chip: a TPM chip to use
> + * @flags: TPM transmit flags
> + *
> + * Return:
> + * * The response length - OK
> + * * -errno - A system error
This function returns void!
> + */
> +void tpm_chip_stop(struct tpm_chip *chip, unsigned int flags)
> +{
> + tpm_go_idle(chip, flags);
> + tpm_relinquish_locality(chip, flags);
> + if (chip->ops->clk_enable)
> + chip->ops->clk_enable(chip, false);
> +}
> +
Powered by blists - more mailing lists