All of lore.kernel.org
 help / color / mirror / Atom feed
From: Tony Lindgren <tony@atomide.com>
To: Felipe Balbi <felipebalbi@users.sourceforge.net>
Cc: Linux-OMAP <linux-omap-open-source@linux.omap.com>
Subject: Re: [PATCH] Fix mis-reporting USB Mode on sysfs
Date: Thu, 3 May 2007 20:11:59 +0000	[thread overview]
Message-ID: <20070503201158.GJ28985@atomide.com> (raw)
In-Reply-To: <31e679430705031244rc7018b8o5cf0025e63058b3b@mail.gmail.com>

* Felipe Balbi <felipebalbi@users.sourceforge.net> [070503 19:45]:
> 	This small patch fixes the mode reporting on sysfs.
> 	Whithout this, we will always see the device as in
> 	otg mode.

Hmmm, it should not be necessary to change the mode here as if the
mode changes, the interrupt should set it correctly.

Maybe should have some additional modes though:

host
peripheral
otg_host
otg_peripheral

I guess host and peripheral should be possible to compile in without
OTG eventually. And if just say otg, we don't know if it's currently
host or peripheral.

Tony

  reply	other threads:[~2007-05-03 20:11 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-05-03 19:44 [PATCH] Fix mis-reporting USB Mode on sysfs Felipe Balbi
2007-05-03 20:11 ` Tony Lindgren [this message]
2007-05-04  6:02   ` Felipe Balbi

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=20070503201158.GJ28985@atomide.com \
    --to=tony@atomide.com \
    --cc=felipebalbi@users.sourceforge.net \
    --cc=linux-omap-open-source@linux.omap.com \
    /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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.