public inbox for linux-scsi@vger.kernel.org
 help / color / mirror / Atom feed
From: David Brownell <david-b@pacbell.net>
To: Stanislaw Gruszka <stf_xl@wp.pl>
Cc: Alan Stern <stern@rowland.harvard.edu>,
	linux-usb@vger.kernel.org, linux-scsi@vger.kernel.org
Subject: Re: BUG - MODE SENSE residue miscount in g_file_storage bulk-only transport ?
Date: Sat, 21 Feb 2009 12:11:39 -0800	[thread overview]
Message-ID: <200902211211.39386.david-b@pacbell.net> (raw)
In-Reply-To: <200902170821.58574.stf_xl@wp.pl>

On Monday 16 February 2009, Stanislaw Gruszka wrote:
> 
> > The problem is in the Atmel hardware; it's not capable of halting a
> > bulk endpoint correctly.  You need to invoke g_file_storage with the
> > "stall=no" parameter.
> 
> I see, it works now, thanks very much.

Should the driver maybe

	if (gadget_is_at91(g))
		disable stalls;

then?
--
To unsubscribe from this list: send the line "unsubscribe linux-scsi" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

  reply	other threads:[~2009-02-21 20:11 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-02-16 11:33 BUG - MODE SENSE residue miscount in g_file_storage bulk-only transport ? Stanislaw Gruszka
     [not found] ` <200902161233.27173.stf_xl-5tc4TXWwyLM@public.gmane.org>
2009-02-16 16:30   ` Alan Stern
2009-02-17  7:21     ` Stanislaw Gruszka
2009-02-21 20:11       ` David Brownell [this message]
2009-02-21 20:55         ` Alan Stern

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=200902211211.39386.david-b@pacbell.net \
    --to=david-b@pacbell.net \
    --cc=linux-scsi@vger.kernel.org \
    --cc=linux-usb@vger.kernel.org \
    --cc=stern@rowland.harvard.edu \
    --cc=stf_xl@wp.pl \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox