1. 25 3月, 2009 1 次提交
    • A
      USB: musb: only turn off vbus in OTG hosts · 74382171
      Ajay Kumar Gupta 提交于
      Except on DaVinci, VBUS is now switched off as part of idling the
      USB link (after a_wait_bcon) whenever a device is disconnected
      from host.  This is correct for OTG hosts, where either SRP or
      an ID interrupt could turn VBUS on again.
      
      However, for non-OTG hosts there's no way to turn VBUS on again,
      so the host becomes unusable.  And the procfs entry which once
      allowed a manual workaround for this is now gone.
      
      This patch adds an is_otg_enabled() check before scheduling the
      switch-off timer in disconnect path, supporting a "classic host"
      mode where SRP is unavailable.
      
      [ dbrownell@users.sourceforge.net: tweak patch description ]
      Signed-off-by: NAjay Kumar Gupta <ajay.gupta@ti.com>
      Signed-off-by: NDavid Brownell <dbrownell@users.sourceforge.net>
      Signed-off-by: NGreg Kroah-Hartman <gregkh@suse.de>
      74382171
  2. 28 2月, 2009 3 次提交
  3. 28 1月, 2009 1 次提交
  4. 08 1月, 2009 5 次提交
  5. 14 11月, 2008 1 次提交
  6. 18 10月, 2008 3 次提交
  7. 24 9月, 2008 1 次提交
  8. 22 8月, 2008 2 次提交
  9. 14 8月, 2008 2 次提交