]> git.baikalelectronics.ru Git - uboot.git/commit
sandbox: scsi: Move reply setup out of helper
authorSimon Glass <sjg@chromium.org>
Wed, 21 Sep 2022 14:21:41 +0000 (16:21 +0200)
committerSimon Glass <sjg@chromium.org>
Sun, 25 Sep 2022 14:30:05 +0000 (08:30 -0600)
commit940962ce611ef35f63afb983e59397a8da51ebab
treeb83647497009c46271099b75b13c671c018f2e35
parent735d70092960eb60bd1a679a41c9554f492e5cd3
sandbox: scsi: Move reply setup out of helper

Move this code out of the helper function so we can (later) add it as part
of the shared emulation code. Set a default value of 0 for buff_used since
that is what we use when there is an error.

Signed-off-by: Simon Glass <sjg@chromium.org>
drivers/usb/emul/sandbox_flash.c