]> git.sur5r.net Git - u-boot/commit
tpm: tpm_tis_i2c: Tidy up delays
authorSimon Glass <sjg@chromium.org>
Sun, 23 Aug 2015 00:31:30 +0000 (18:31 -0600)
committerSimon Glass <sjg@chromium.org>
Mon, 31 Aug 2015 13:57:28 +0000 (07:57 -0600)
commit42c8ec56c531c99e2a346358a12ba5b69481f9de
tree16724c554c6682c1290323b6236894219d33b6c2
parente56e20eb860cadc4cc28d275f025fc8977b306ce
tpm: tpm_tis_i2c: Tidy up delays

Use a _US suffix for microseconds and a _MS suffic for milliseconds. Move
all timeouts and delays into one place. Use mdelay() instead of udelay()
where appropriate.

Signed-off-by: Simon Glass <sjg@chromium.org>
Acked-by: Christophe Ricard <christophe-h.ricard@st.com>
Reviewed-by: Heiko Schocher <hs@denx.de>
drivers/tpm/tpm_tis_i2c.c
drivers/tpm/tpm_tis_i2c.h