1. 02 5月, 2012 2 次提交
    • S
      USB: ehci-tegra: remove redundant gpio_set_value · 04c235c9
      Stephen Warren 提交于
      The immediately preceding gpio_direction_output() already set the value,
      so there's no need to repeat it. This also prevents gpio_set_value() from
      WARNing when the GPIO is sleepable (e.g. is on an I2C expander); the set
      direction API is always sleepable, but plain set_value isn't.
      
      Cc: <stable@vger.kernel.org> # v3.3
      Signed-off-by: NStephen Warren <swarren@nvidia.com>
      Signed-off-by: NGreg Kroah-Hartman <gregkh@linuxfoundation.org>
      04c235c9
    • A
      EHCI: update PM methods in ehci-tegra.c · ebf20de4
      Alan Stern 提交于
      This patch (as1547) rearranges the Power Management parts of the
      ehci-tegra driver to match the conventions used in other EHCI platform
      drivers.  In particular, the controller should not be powered down by
      the root hub's suspend routine; the controller's power level should be
      managed by the controller's own PM methods.
      
      The end result of the patch is that the standard ehci_bus_suspend()
      and ehci_bus_resume() methods can be used instead of special-purpose
      routines.  The driver now uses the standard dev_pm_ops methods instead
      of legacy power management.  Since there is no supported wakeup
      mechanism for the controller, runtime suspend is forbidden by default
      (this can be overridden via sysfs, if desired).
      
      These adjustments are needed in order to make ehci-tegra compatible
      with recent changes to the USB core.  The core now checks the root
      hub's status following bus suspend; if the controller is automatically
      powered down during bus suspend then the check will fail and the root
      hub will be resumed immediately.  Doing the controller power-down in a
      separate method avoids this problem.
      Signed-off-by: NAlan Stern <stern@rowland.harvard.edu>
      Acked-by: NStephen Warren <swarren@wwwdotorg.org>
      Tested-by: NStephen Warren <swarren@wwwdotorg.org>
      Signed-off-by: NGreg Kroah-Hartman <gregkh@linuxfoundation.org>
      ebf20de4
  2. 19 4月, 2012 2 次提交
  3. 10 4月, 2012 1 次提交
  4. 27 2月, 2012 2 次提交
  5. 13 2月, 2012 1 次提交
  6. 08 12月, 2011 1 次提交
  7. 18 9月, 2011 1 次提交
  8. 04 5月, 2011 1 次提交
  9. 30 4月, 2011 1 次提交
  10. 12 3月, 2011 2 次提交