usb: Read until buffer is fully filled 66/242866/1 accepted/tizen/unified/20200902.145546 submit/tizen/20200902.012141
authorDongwoo Lee <dwoo08.lee@samsung.com>
Tue, 1 Sep 2020 10:11:28 +0000 (19:11 +0900)
committerDongwoo Lee <dwoo08.lee@samsung.com>
Tue, 1 Sep 2020 10:11:28 +0000 (19:11 +0900)
commit4f1157dc54bf221d4e986886dbaec8ebb3a41daa
tree64ab8931ca2e589efbb57b31865f6b8677785351
parent471dff4cdc0e36bced2c2bb9501efd88de76258b
usb: Read until buffer is fully filled

Since a single read may not fill the buffer entirely, this makes try
to fill the buffer fully with loop.

Change-Id: Ic73daf50b060f37c773774108952dbdf30de07e1
Signed-off-by: Dongwoo Lee <dwoo08.lee@samsung.com>
src/usb.c