| .. | .. |
|---|
| 67 | 67 | #define READ_STATUS_SIZE 13 |
|---|
| 68 | 68 | #define MISC_VALUE_SIZE 4 |
|---|
| 69 | 69 | |
|---|
| 70 | | -#define CMD_TIMEOUT msecs_to_jiffies(200) |
|---|
| 71 | | -#define DATA_TIMEOUT msecs_to_jiffies(1000) |
|---|
| 72 | | -#define IDLE_TIMEOUT msecs_to_jiffies(2000) |
|---|
| 73 | | -#define FIRST_FRAME_TIMEOUT msecs_to_jiffies(2000) |
|---|
| 70 | +#define CMD_TIMEOUT 200 |
|---|
| 71 | +#define DATA_TIMEOUT 1000 |
|---|
| 72 | +#define IDLE_TIMEOUT 2000 |
|---|
| 73 | +#define FIRST_FRAME_TIMEOUT 2000 |
|---|
| 74 | 74 | |
|---|
| 75 | 75 | #define MISC_REQ_GET_SET_ECO_A 0xff |
|---|
| 76 | 76 | #define MISC_REQ_GET_SET_ECO_B 0x35 |
|---|
| .. | .. |
|---|
| 399 | 399 | * switches back to showing its logo. |
|---|
| 400 | 400 | */ |
|---|
| 401 | 401 | queue_delayed_work(system_long_wq, &gm12u320->fb_update.work, |
|---|
| 402 | | - IDLE_TIMEOUT); |
|---|
| 402 | + msecs_to_jiffies(IDLE_TIMEOUT)); |
|---|
| 403 | 403 | |
|---|
| 404 | 404 | return; |
|---|
| 405 | 405 | err: |
|---|