File tree 1 file changed +3
-3
lines changed 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -1116,12 +1116,12 @@ static ssize_t mtk_dsi_host_transfer(struct mipi_dsi_host *host,
1116
1116
const struct mipi_dsi_msg * msg )
1117
1117
{
1118
1118
struct mtk_dsi * dsi = host_to_dsi (host );
1119
- u32 recv_cnt , i ;
1119
+ ssize_t recv_cnt ;
1120
1120
u8 read_data [16 ];
1121
1121
void * src_addr ;
1122
1122
u8 irq_flag = CMD_DONE_INT_FLAG ;
1123
1123
u32 dsi_mode ;
1124
- int ret ;
1124
+ int ret , i ;
1125
1125
1126
1126
dsi_mode = readl (dsi -> regs + DSI_MODE_CTRL );
1127
1127
if (dsi_mode & MODE ) {
@@ -1170,7 +1170,7 @@ static ssize_t mtk_dsi_host_transfer(struct mipi_dsi_host *host,
1170
1170
if (recv_cnt )
1171
1171
memcpy (msg -> rx_buf , src_addr , recv_cnt );
1172
1172
1173
- DRM_INFO ("dsi get %d byte data from the panel address(0x%x)\n" ,
1173
+ DRM_INFO ("dsi get %zd byte data from the panel address(0x%x)\n" ,
1174
1174
recv_cnt , * ((u8 * )(msg -> tx_buf )));
1175
1175
1176
1176
restore_dsi_mode :
You can’t perform that action at this time.
0 commit comments