Skip to content

Commit d61841f

Browse files
warped-rudijnettlet
authored andcommitted
MXC-CEC: Fix write timeout handling
Signed-off-by: Rudi <[email protected]>
1 parent 2511d52 commit d61841f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

drivers/mxc/hdmi-cec/mxc_hdmi-cec.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@
5555
#define MESSAGE_TYPE_CONNECTED 4
5656
#define MESSAGE_TYPE_SEND_SUCCESS 5
5757

58-
#define CEC_TX_INPROGRESS -1
58+
#define CEC_TX_INPROGRESS 0xffff0000
5959
#define CEC_TX_AVAIL 0
6060

6161
#define CEC_TX_RETRIES 3
@@ -80,7 +80,7 @@
8080
struct hdmi_cec_priv {
8181
int receive_error;
8282
int send_error;
83-
int tx_answer;
83+
u32 tx_answer;
8484
u32 cec_stat0;
8585
u8 logical_address;
8686
u8 is_started;

0 commit comments

Comments
 (0)