mirror of
https://xff.cz/git/u-boot/
synced 2025-09-01 00:32:04 +02:00
usb: Add nonblock argument to submit_int_msg
This will be used to implement non-blocking keyboard polling in case of errors. Signed-off-by: Michal Suchanek <msuchanek@suse.de>
This commit is contained in:
@@ -651,7 +651,7 @@ static int usb_stor_CBI_get_status(struct scsi_cmd *srb, struct us_data *us)
|
||||
|
||||
us->ip_wanted = 1;
|
||||
usb_int_msg(us->pusb_dev, us->irqpipe,
|
||||
(void *)&us->ip_data, us->irqmaxp, us->irqinterval);
|
||||
(void *)&us->ip_data, us->irqmaxp, us->irqinterval, false);
|
||||
timeout = 1000;
|
||||
while (timeout--) {
|
||||
if (us->ip_wanted == 0)
|
||||
|
Reference in New Issue
Block a user