Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 108be95f authored by Yusuke Goda's avatar Yusuke Goda Committed by Greg Kroah-Hartman
Browse files

usb: m66592-udc: Fixed bufnum of Bulk

parent 294d95f2
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -258,7 +258,7 @@ static int pipe_buffer_setting(struct m66592 *m66592,
		break;
	case M66592_BULK:
		/* isochronous pipes may be used as bulk pipes */
		if (info->pipe > M66592_BASE_PIPENUM_BULK)
		if (info->pipe >= M66592_BASE_PIPENUM_BULK)
			bufnum = info->pipe - M66592_BASE_PIPENUM_BULK;
		else
			bufnum = info->pipe - M66592_BASE_PIPENUM_ISOC;