lkml.org 
[lkml]   [2020]   [Mar]   [27]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH v4 5/8] usb: mausb_host: Introduce PAL processing
On Fri, 27 Mar 2020 vladimir.stankovic@displaylink.com wrote:

> Protocol adaptation layer (PAL) implementation has been added to
> introduce MA-USB structures and logic.
>
> Signed-off-by: Vladimir Stankovic <vladimir.stankovic@displaylink.com>
> ---
> + /*
> + * Masking URB_SHORT_NOT_OK flag as SCSI driver is adding it where it
> + * should not, so it is breaking the USB drive on the linux
> + */
> + urb->transfer_flags &= ~URB_SHORT_NOT_OK;

Please explain more fully. What SCSI driver are you talking about?
Where is the flag getting added incorrectly? What USB drive is getting
broken, and how?

If there's a bug in a SCSI driver, why don't you report it and get it
fixed instead of trying to create a workaround in just one host
controller driver?

Alan Stern

\
 
 \ /
  Last update: 2020-03-27 17:36    [W:0.354 / U:0.952 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site