projects
/
oweals
/
u-boot.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
dts: Bring in Chrome OS keyboard device tree definition
[oweals/u-boot.git]
/
drivers
/
tpm
/
tpm_tis_lpc.c
diff --git
a/drivers/tpm/tpm_tis_lpc.c
b/drivers/tpm/tpm_tis_lpc.c
index eecf18cbf920ebe7721bea11178b5dbf5068b095..d09f8cee05b0940ea32c7707e5aeb4a1e6d2e90e 100644
(file)
--- a/
drivers/tpm/tpm_tis_lpc.c
+++ b/
drivers/tpm/tpm_tis_lpc.c
@@
-274,7
+274,7
@@
static u32 tis_senddata(const u8 * const data, u32 len)
* changes to zero exactly after the last byte is fed into the
* FIFO.
*/
- count = min(burst, len - offset - 1);
+ count = min(
(u32)
burst, len - offset - 1);
while (count--)
tpm_write_byte(data[offset++],
&lpc_tpm_dev[locality].data);