File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -1108,12 +1108,12 @@ static ssize_t mtk_dsi_host_transfer(struct mipi_dsi_host *host,
1108
1108
const struct mipi_dsi_msg * msg )
1109
1109
{
1110
1110
struct mtk_dsi * dsi = host_to_dsi (host );
1111
- u32 recv_cnt , i ;
1111
+ ssize_t recv_cnt ;
1112
1112
u8 read_data [16 ];
1113
1113
void * src_addr ;
1114
1114
u8 irq_flag = CMD_DONE_INT_FLAG ;
1115
1115
u32 dsi_mode ;
1116
- int ret ;
1116
+ int ret , i ;
1117
1117
1118
1118
dsi_mode = readl (dsi -> regs + DSI_MODE_CTRL );
1119
1119
if (dsi_mode & MODE ) {
@@ -1162,7 +1162,7 @@ static ssize_t mtk_dsi_host_transfer(struct mipi_dsi_host *host,
1162
1162
if (recv_cnt )
1163
1163
memcpy (msg -> rx_buf , src_addr , recv_cnt );
1164
1164
1165
- DRM_INFO ("dsi get %d byte data from the panel address(0x%x)\n" ,
1165
+ DRM_INFO ("dsi get %zd byte data from the panel address(0x%x)\n" ,
1166
1166
recv_cnt , * ((u8 * )(msg -> tx_buf )));
1167
1167
1168
1168
restore_dsi_mode :
You can’t perform that action at this time.
0 commit comments