140-no_repnop_T6963.patch 441 B

12345678910111213141516171819202122
  1. --- a/drv_T6963.c
  2. +++ b/drv_T6963.c
  3. @@ -114,7 +114,9 @@ static void drv_T6_status1(void)
  4. /* wait for STA0=1 and STA1=1 */
  5. n = 0;
  6. do {
  7. +#if 0
  8. rep_nop();
  9. +#endif
  10. if (++n > 1000) {
  11. debug("hang in status1");
  12. bug = 1;
  13. @@ -150,7 +152,9 @@ static void drv_T6_status2(void)
  14. /* wait for STA3=1 */
  15. n = 0;
  16. do {
  17. +#if 0
  18. rep_nop();
  19. +#endif
  20. if (++n > 1000) {
  21. debug("hang in status2");
  22. bug = 1;