commit | c3804b8cdbd2abb50cf87318b13660dff46b7fe8 | [log] [tgz] |
---|---|---|
author | Christophe Ricard <christophe.ricard@gmail.com> | Mon Dec 01 19:32:58 2014 +0100 |
committer | Peter Huewe <peterhuewe@gmx.de> | Sat Jan 17 14:00:08 2015 +0100 |
tree | 46d42a57c7b6b7e1a9590ddc5241ba56649a92ce | |
parent | 8dcd19874f31b7a806a2a2b129e94882918c3aaf [diff] |
tpm/tpm_i2c_stm_st33: Interrupt management improvement Improve the irq management by using a new function wait_for_stat. Instead of using a completion struct, we rely on the waitqueue read_queue and int_queue from chip->vendor field. Reviewed-by: Jason Gunthorpe <jgunthorpe@obsidianresearch.com> Signed-off-by: Christophe Ricard <christophe-h.ricard@st.com> Signed-off-by: Peter Huewe <peterhuewe@gmx.de>