Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 75445
b: refs/heads/master
c: 2490c68
h: refs/heads/master
i:
  75443: ae1996a
v: v3
  • Loading branch information
David Smith authored and Linus Torvalds committed Jan 14, 2008
1 parent ca9af21 commit b535b03
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 40d6a146629b98d8e322b6f9332b182c7cbff3df
refs/heads/master: 2490c681ea3d7f5ac3fb876f14567bf1a9e0aa87
12 changes: 6 additions & 6 deletions trunk/drivers/char/tpm/tpm.c
Original file line number Diff line number Diff line change
Expand Up @@ -1046,19 +1046,19 @@ void tpm_remove_hardware(struct device *dev)
}
EXPORT_SYMBOL_GPL(tpm_remove_hardware);

static u8 savestate[] = {
0, 193, /* TPM_TAG_RQU_COMMAND */
0, 0, 0, 10, /* blob length (in bytes) */
0, 0, 0, 152 /* TPM_ORD_SaveState */
};

/*
* We are about to suspend. Save the TPM state
* so that it can be restored.
*/
int tpm_pm_suspend(struct device *dev, pm_message_t pm_state)
{
struct tpm_chip *chip = dev_get_drvdata(dev);
u8 savestate[] = {
0, 193, /* TPM_TAG_RQU_COMMAND */
0, 0, 0, 10, /* blob length (in bytes) */
0, 0, 0, 152 /* TPM_ORD_SaveState */
};

if (chip == NULL)
return -ENODEV;

Expand Down

0 comments on commit b535b03

Please sign in to comment.