mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-28 10:41:38 -04:00
[ARM] 3760/1: This patch adds timeouts while working with SSP registers. Such timeouts were en
Patch from Paul Sokolovsky This patch adds timeouts while working with SSP registers. Such timeouts were envisioned by docstrings in ssp.c, but were not implemented. There were actual lockups while accessing touchscreen for iPaqs h1910, h4000 due to lack of the timeouts. This is updated version of previously submitted patch: 3738/1. Signed-off-by: Paul Sokolovsky <[email protected]> Signed-off-by: Russell King <[email protected]>
This commit is contained in:
parent
b53a2b41f1
commit
8f1bf8743c
5 changed files with 82 additions and 27 deletions
|
|
@ -40,8 +40,8 @@ struct ssp_dev {
|
|||
};
|
||||
|
||||
int ssp_write_word(struct ssp_dev *dev, u32 data);
|
||||
int ssp_read_word(struct ssp_dev *dev);
|
||||
void ssp_flush(struct ssp_dev *dev);
|
||||
int ssp_read_word(struct ssp_dev *dev, u32 *data);
|
||||
int ssp_flush(struct ssp_dev *dev);
|
||||
void ssp_enable(struct ssp_dev *dev);
|
||||
void ssp_disable(struct ssp_dev *dev);
|
||||
void ssp_save_state(struct ssp_dev *dev, struct ssp_state *ssp);
|
||||
|
|
|
|||
|
|
@ -16,8 +16,8 @@ struct ssp_state {
|
|||
};
|
||||
|
||||
int ssp_write_word(u16 data);
|
||||
int ssp_read_word(void);
|
||||
void ssp_flush(void);
|
||||
int ssp_read_word(u16 *data);
|
||||
int ssp_flush(void);
|
||||
void ssp_enable(void);
|
||||
void ssp_disable(void);
|
||||
void ssp_save_state(struct ssp_state *ssp);
|
||||
|
|
|
|||
Loading…
Reference in a new issue