Loading drivers/usb/gadget/function/f_fs.c +3 −3 Original line number Diff line number Diff line Loading @@ -1101,8 +1101,6 @@ static ssize_t ffs_epfile_io(struct file *file, struct ffs_io_data *io_data) } } ffs_log("ep status %d for req %pK", ep->status, req); if (interrupted) { ret = -EINTR; goto error_mutex; Loading @@ -1115,8 +1113,10 @@ static ssize_t ffs_epfile_io(struct file *file, struct ffs_io_data *io_data) * disabled (disconnect) or changed * (composition switch) ? */ if (epfile->ep == ep) if (epfile->ep == ep) { ret = ep->status; ffs_log("ep status %d for req %pK", ep->status, req); } spin_unlock_irq(&epfile->ffs->eps_lock); if (io_data->read && ret > 0) ret = __ffs_epfile_read_data(epfile, data, ep->status, Loading Loading
drivers/usb/gadget/function/f_fs.c +3 −3 Original line number Diff line number Diff line Loading @@ -1101,8 +1101,6 @@ static ssize_t ffs_epfile_io(struct file *file, struct ffs_io_data *io_data) } } ffs_log("ep status %d for req %pK", ep->status, req); if (interrupted) { ret = -EINTR; goto error_mutex; Loading @@ -1115,8 +1113,10 @@ static ssize_t ffs_epfile_io(struct file *file, struct ffs_io_data *io_data) * disabled (disconnect) or changed * (composition switch) ? */ if (epfile->ep == ep) if (epfile->ep == ep) { ret = ep->status; ffs_log("ep status %d for req %pK", ep->status, req); } spin_unlock_irq(&epfile->ffs->eps_lock); if (io_data->read && ret > 0) ret = __ffs_epfile_read_data(epfile, data, ep->status, Loading