mirror of
git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2025-08-05 16:54:27 +00:00
[PATCH] Corgi touchscreen: Fix a pmu bug
Corgi Touchscreen bugfix. If the PMU isn't running, the register needs to be set to a sane value rather than reusing some random value. Signed-off-by: Richard Purdie <rpurdie@rpsys.net> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
This commit is contained in:
parent
74b74890bc
commit
8cc3c7af42
1 changed files with 1 additions and 1 deletions
|
@ -105,7 +105,7 @@ static int sync_receive_data_send_cmd(int doRecive, int doSend, unsigned int add
|
|||
if (wait_time && doSend) {
|
||||
PMNC_GET(pmnc);
|
||||
if (!(pmnc & 0x01))
|
||||
PMNC_SET(pmnc | 0x01);
|
||||
PMNC_SET(0x01);
|
||||
|
||||
/* polling HSync */
|
||||
SyncHS();
|
||||
|
|
Loading…
Add table
Reference in a new issue