GoogleGit

commit84593d010d2666615efd32e741ceb65ae95ee9a5[log][tgz]
authorDhaval Patel <pdhaval@codeaurora.org>Wed Jun 18 14:51:52 2014 -0700
committerPat Tjin <pattjin@google.com>Sat Jun 21 03:11:28 2014 +0000
treee4bb7de417300cda0315edbdd9aab22fbdba2c76
parent792cee3d87551ffc6fa48a0d0d0e8c532acd2f95[diff]
msm: mdss: check cmd_pending before turning off the clocks

We currently send the commands for backlight update through sysfs nodes.
The implementation turns on the clocks for these nodes to allow command
update during ulps state. However, clk off does not wait for operation
complete. In loaded system, this can lead to crash if commands are not sent
within timeframe window.  This change holds the command pending status
before turning off the clock to make sure that clocks are available before
sending any command.

Bug: 15725268

Change-Id: I9baf0ca423f5a09088ac29e416857f244970d33c
4 files changed
tree: e4bb7de417300cda0315edbdd9aab22fbdba2c76
  1. .gitignore
  2. .mailmap
  3. AndroidKernel.mk
  4. COPYING
  5. CREDITS
  6. Documentation/
  7. Kbuild
  8. Kconfig
  9. MAINTAINERS
  10. Makefile
  11. README
  12. REPORTING-BUGS
  13. android/
  14. arch/
  15. block/
  16. crypto/
  17. drivers/
  18. firmware/
  19. fs/
  20. include/
  21. init/
  22. ipc/
  23. kernel/
  24. lib/
  25. mm/
  26. net/
  27. samples/
  28. scripts/
  29. security/
  30. sound/
  31. tools/
  32. usr/
  33. virt/