mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-30 11:41:38 -04:00
parent
22bd002ee7
commit
72c2d53192
29 changed files with 74 additions and 97 deletions
|
|
@ -244,10 +244,10 @@ p9_fd_poll(struct p9_client *client, struct poll_table_struct *pt)
|
|||
if (!ts)
|
||||
return -EREMOTEIO;
|
||||
|
||||
if (!ts->rd->f_op || !ts->rd->f_op->poll)
|
||||
if (!ts->rd->f_op->poll)
|
||||
return -EIO;
|
||||
|
||||
if (!ts->wr->f_op || !ts->wr->f_op->poll)
|
||||
if (!ts->wr->f_op->poll)
|
||||
return -EIO;
|
||||
|
||||
ret = ts->rd->f_op->poll(ts->rd, pt);
|
||||
|
|
|
|||
Loading…
Reference in a new issue